Skip to content
Back

Google OAuth

  • 0
  • Auth
  • Cloud
martins4
3 Jun, 2025, 22:27

I am having trouble using the google log in in my app. Getting error: Error 400 Invalid redirect URL for OAuth success. project_invalid_success_url

I have tryied everything, I even added the this urls in the the valid google redirects but nothing changes.

If someone had the same problem, please get in touch with me. This error has been a pain in the ass.

TL;DR
Developers are having trouble with Google OAuth login in their app, receiving an error message stating "Invalid redirect URL for OAuth success." They have tried adding the URLs to valid Google redirects without success. Solution: Double-check redirect URLs and ensure they are correctly configured in the Google OAuth settings.
Kenny
3 Jun, 2025, 22:42

What does the code look like, what are you defining as the success url?

martins4
3 Jun, 2025, 22:49

i am trying to open to go back to the app using the hyper links that automatically open an app from a link

martins4
3 Jun, 2025, 22:51

I wondered if it would be possible to try it out just using a url to open the login directly. typing down something similar to this: https://fra.cloud.appwrite.io/v1/account/sessions/oauth2/google/redirect?project=PROJECTID&redirectUrl=REDIRECTURL

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more