Hi,
Please find the patch which fixes the error shown on logout when authsources include 'oauth2'.
Thanks,Yogesh MahajanEnterpriseDB