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
- Issue with OAuth 2.0 authentication
Good evening, I’m reaching out because I’m having a small issue with Appwrite. I’m trying to set up OAuth2 with Twitch, and even though I’m entering the correc...
- What's the proper way to delete user acc...
I would like to provide an option for the users of my app, to completely remove theirs account if they want to. I don't want to 'deactivate' the account, but to...
- HUGE OUTRAGE IN APPWRITE, I CANNOT ACCES...
I have 2k users trying to access, sending me messages. What am I supposed to do? Please solve this asap.