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!
It’s not just you—this error usually happens when the Google login configuration on the website is incorrect. The “redirect_uri_mismatch” message means the redirect URL used by AnsPress.io doesn’t match the one registered in the Google developer settings. This is a server-side issue, so users can’t fix it themselves. You should contact the site administrator or developer of AnsPress.io and let them know that the Google OAuth redirect URI needs to be updated or properly configured in their Google Cloud Console.
fnf
Thanks for letting us know. It has been fixed. We recently added https to our site and API was redirecting to http.
I am facing the same issue. Can you please tell me the updated working example downloadable…
Hello Vijay, Please consult with social login plugin developer.
No problem, glad I can help.