Back

Invalid success param when trying Google sign in on a vercel.app subdomain

  • 0
  • Auth
  • Web
  • Cloud
Dave
4 May, 2024, 20:26

When trying to use Google sign in on a vercel.app subdomain I get this error Invalid success param: URL host must be one of: localhost, cloud.appwrite.io, appwrite.io, *.vercel.app

I updated my host name on appwrite dashboard to *.vercel.app and it still did not work. I also tried using my main name which is memora-tau.vercel.app that also did not work.

TL;DR
Developers encountering an "Invalid success param" error when trying to use Google sign in on a vercel.app subdomain. The host name needs to be one of: localhost, cloud.appwrite.io, appwrite.io, or *.vercel.app. Changing the host name in the appwrite dashboard may not resolve the issue.
Dave
4 May, 2024, 20:43

@D5 here is the post

D5
4 May, 2024, 20:55

Perfect! Thanks for creating it

D5
4 May, 2024, 20:55

What's the redirect URL set in your code?

Dave
4 May, 2024, 20:57
D5
4 May, 2024, 20:57

I see, then the www is probably causing the issue

D5
4 May, 2024, 20:57

You can't remove the www?

Dave
4 May, 2024, 20:58

I can remove it. Let me do that and try

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