Back

OAuth Invalid Success URL

  • 0
  • Self Hosted
  • Auth
  • General
Claas.sh
22 Nov, 2024, 16:44

I am trying to setup OAuth and this would be my configuration on Google:

My OAuth Link:

TypeScript
"https://accounts.google.com/o/oauth2/v2/auth?
client_id=(client_id)
&redirect_uri=(redacted)/v1/account/sessions/oauth2/callback/google/67405f7900136a143b8c
&response_type=code
&scope=openid%20email%20profile
&access_type=offline"

The error I get is: project_invalid_success_url

TL;DR
Developers set up OAuth configuration with a specific redirect URI but faced the error "project_invalid_success_url" from Google. The issue may be due to an incorrect success URL. Double-check the URI in the OAuth link matches with the one configured on Google’s OAuth settings for this project. Make sure the redirect URI is properly encoded and matches exactly.
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