Back

google oauth deployment error

  • 0
  • Accounts
mitsy0_0
2 Mar, 2024, 12:58

works fine on local, but gives this error on deployment

TypeScript
Invalid `success` param: URL host must be one of: localhost, cloud.appwrite.io, appwrite.io, *

Type

general_argument_invalid```

I have it deployed on .vercel.app
how can I add it here
TL;DR
Developers are encountering a Google OAuth deployment error specifically related to the `success` param. The error states that the URL host must be one of a specified list. The issue arises when deployed to Vercel. The solution involves ensuring that the URL host matches one of the specified options in the error message (`localhost`, `cloud.appwrite.io`, `appwrite.io`, `*`). Adjust the host setting accordingly to resolve the problem.
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