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
- Appwrite github organization error
I have github student account. The auth has been paused however the database is working fine. I cant see any option to resume from my console panel. It is just ...
- Appwrite project paused
I have github student account. The auth has been paused however the database is working fine. I cant see any option to resume from my console panel. It is just ...
- Google OAuth Not Working on Brave/Firefo...
I'm having an issue with Google OAuth in my React + Appwrite app. After login, the dashboard is accessible only in Microsoft Edge, but fails in Brave and Firefo...