Social login

8.49K viewsGeneral
0

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.

Learn more

Request Details
That’s all we know.

Answered question
0

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:

  1. 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.

  2. 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.

  3. 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!

Answered question
You are viewing 1 out of 3 answers, click here to view all answers.