[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
- Adding custom domain to Appwrite project
My app is hosted on Vercel on domain todo.velleb.com. On PC, the OAuth logins like GitHub, Discord and Google work and create the account and log in. On mobile ...
- Need help migrating from self hosted to ...
Hi! I am using self hosted appwrite for testing stuff out and now it's prod ready I want to deplot it to the cloud version. It gave me this error when fetchin...
- #support
<#1072905050399191082> any help on that?
