Social login
I’ve been using my google account to login here but recently when I try to login with google account, I get below message and can’t login.
Is it just me? or is there anybody else having trouble with social login?
400. That’s an error.
Error: redirect_uri_mismatch
Application: AnsPress.io
You can email the developer of this application at
The redirect URI in the request: https://anspress.io/wp-content/plugins/wordpress-social-login/hybridauth/?hauth.done=Google did not match a registered redirect URI.
Request Details
That’s all we know.
The redirect_uri_mismatch error typically means the callback URL sent by the social login plugin does not match the authorized URLs listed in the Google Cloud Console.
Here is the troubleshooting approach to fix it:
Check Protocol & Domain Changes: Verify whether the site recently migrated from HTTP to HTTPS or modified domain settings (such as adding or removing www). A single character difference will trigger this mismatch.
Update Google Cloud Console: The site administrator needs to go to APIs & Services > Credentials, select the corresponding OAuth 2.0 Client ID, and inspect the Authorized redirect URIs.
Match the Exact Endpoint: Copy the exact callback URL specified in the AnsPress social login settings and add it to the authorized list, ensuring protocols and trailing slashes match perfectly.
If you are just a visitor waiting for the site admin to update the API credentials, you can pass some time relaxing with Spacebar Clicker in the meantime!