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 cloud currently slow response? ...
i have my app Breezer in the app store and since about yesterday it is unusable because everything like loading data is very slow. I'm not sure what is the reas...
- Does OAuth2 not work if I'm running Reac...
I can't seem to get OAuth to work. I'm running ReactJS and after logging in with google it sends me back without any cookies
- OAuth2 not working
Hello guys, I am using the appwrite cloud version. And today I tried logging in a user with using OAuth2 with provider Google and Apple, both did not work. Als...