Error 400 Invalid success param: URL host must be one of: localhost, cloud.appwrite.io, appwrite.io,
- 0
- React Native
- Auth
Error 400 Invalid success param: URL host must be one of: localhost, cloud.appwrite.io, appwrite.io, *
Type: general_argument_invalid
getting this issue for react native app in build. I also created a web platform on it in which i passed * for domain but getting this issue on auth redirecting.
const redirectUri = Linking.createURL("/"); const response = await account.createOAuth2Token( OAuthProvider.Google, redirectUri );
Redirect uri should be either one of those mentioned. If you need to use a custom domain, add it as a Platform in your project.
I created platform but it's still not working
what url did you use?
Recommended threads
- Session Token not saving
On several devices, the session token is not saved as a cookie during creation. This results in a 401 error when checking out the account. The Appwrite instance...
- Need help in email verification - react ...
Hi, i am trying to verify user, but it is asking me a redirect link, and as i am creating an mobile app, i want it to be done in the app itself. Please if anybo...
- Multiple Set-Cookie headers collapsed on...
I’m deploying a Next.js 15 app to Appwrite → Deploy → Sites. In app/api/auth/login/route.ts I try to set 3 cookies. Variant A (manual headers): const headers ...