Check https://experienceleague.adobe.com/docs/experience-manager-65/communities/administer/social-login.html?lang=en for Social login.Also, look in the aem logs to see why the issue is there. You can set the log to trace level to see details of the issue.