Google authentication redirect_uri_mismatch

when select google in social login provider
redirect url automatically fill as /api/method/frappe.integrations.oauth2_logins.login_via_google and on sign up redirect_uri_mismatch error

Hii @Rangubha_Makwana

Please check once:

Thanks for response

In September 2024 I found that I had to enter my Redirect URI in this format for it to work:
https://{my_domain.com}/api/method/frappe.integrations.oauth2_logins.login_via_google

This is different from what the Frappe docs currently say:
http://{{ yoursite }}/api/method/frappe.www.login.login_via_google

  • I had to use HTTPS not HTTP
  • I had to use integrations.oauth2_logins in place of www.login