Integration with google in google clould credentials in Authorized javascript origins

Hello Everyone,

When I want to integrate ERPnext with Google Drive, what path should I give in the URL as in the screenshot in the official javascript origins Google Cloud Credentials?

Any idea about this question?

have a look at the official docs , you’ll find your answer

Hi @Runway,

Please check it.

Authorized JavaScript origins


Thank You!

1 Like

Thank You @NCP but this link in attached in Authorized redirect URIs
than come that error how solve that

Error 400: redirect_uri_mismatch

You can’t sign in to this app because it doesn’t comply with Google’s OAuth 2.0 policy.

If you’re the app developer, register the redirect URI in the Google Cloud Console.
Request details: redirect_uri={yoursite}/api/method/frappe.integrations.google_oauth.callback
Related developer documentation

First, enable api of the google drive.

like this

Authorized JavaScript origins for check it.

Please re-check your integration.

Thank You!