[SOLVED] Error 400Invalid `success` param: URL host must be one of: localhost, cloud.appwrite.io
- 0
- Tools
- Accounts
- Web
- Users

Hey when i try to login via google on my next app. I get such error. The redirect link is an app hosted in vercel and has .vercel.app in its domain. How do i fix this issue?

In your console you should go to Settings -> Custom Domains
and add your .vercel.app
domain

would you please add a hostname that has an exact matching hostname (not wildcard)?
Related issue: https://github.com/appwrite/appwrite/issues/6322#issuecomment-1850534416

Yeh got it fixed thanks a lot

If your issue has been solved, you can mark this post as closed by adding "[SOLVED]" to the beginning of the title

[SOLVED] Error 400Invalid success
param: URL host must be one of: localhost, cloud.appwrite.io
Recommended threads
- Struggling with Sessions
Understanding check: createAnonymousSession() registers the session with the backend setSession() creates a cookie on the user’s computer(?) getSession(‘curr...
- MCP and VSCode Docs
I like your tools, but would like to set up Copilot in VSCode, but these docs don't offer that guide. Did I miss something? https://appwrite.io/docs/tooling/mcp
- How to set wildcard at custom doamin
For OAuth2 redirect, I have set the appwrite api endpoint as appwrite.example.com, and added the CANME in cloudfare where I bought the domain name. And I hosted...
