Hi,
Please find the attached patch to fix the RM #6594 - Unable to login withOAuth2 when LDAP & OAuth2 configured as login sources.
Thanks,Khushboo