Social Login ERROR – google
-
What should I fill in for the redirect URI when registering in the Google Cloud Console?
xx.com/my-account/google/oath2callback
This is incorrect.
https://xtemos.com/wp-content/uploads/2021/12/gog_5-1.png
I entered the “Authorized redirect URLs” option as shown in the image, but it resulted in an error message.
Hello,
For Google OAuth, the Redirect URI must point exactly to the callback URL that your website expects.
Check an example from the documentation https://xtemos.com/wp-content/uploads/screenshots/woodmart/goo5.jpg
For more details follow this guide: https://xtemos.com/docs-topic/how-to-configure-google-login/
Best Regards,
Sorry..
I’m just one step away from completion. I don’t know what to fill in for the Authorized redirect URI.
domain.com/wp-admin/admin-ajax.php?
domain.com/my-account/google/oauth2callback?
Hello,
Use WoodMart’s exact callback URL, not /my-account/google/oauth2callback.
Add this to Authorized redirect URIs in Google Console:
https://yourdomain.com/wp-admin/admin-ajax.php?action=wd_google_login
Replace with your domain, save, clear cache, and test again.
Best Regards,