[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
- how many Teams can be created?
I am creating an app where I will let users create groups. This could mean there will be many groups created by user, to isolate those groups properly I am thin...
- React native app login via Safari
Hi! I deployed for debug my React Native app in web, chrome everythink works well but in safari on mac and ios I cant login. I found this one error in safari co...
- Invalid credentials after migration
Hi everyone! After migrating our self-hosted Appwrite 1.3.1 to another server (staging, so a different domain), we are now getting 'Invalid credentials' when ...
