Skip to content
Back

Invalid `success` param: URL host must be one of: localhost, cloud.appwrite.io, appwrite.io, *

  • 0
  • React Native
Rugile
26 Dec, 2024, 23:24

its insane that even google login cant be solved, this is my code: ` const redirecting = Linking.createURL() const makered = makeRedirectUri()

TypeScript
  console.log(makered)
  const responseData = account.createOAuth2Token(
    OAuthProvider.Google,
    redirecting
  )
   const res = await WebBrowser.openAuthSessionAsync(
    responseData.toString(),
    redirecting.toString()
)
if (res.type === 'success') {
  console.log("success")
}

` its already 2 days, a saw a lot of posts about this, but marked as solved and closed, wtf is solution, nobady say...does anybody solved it???

TL;DR
The developer is experiencing an issue with the `success` parameter in their code related to Google login. The user has tried various solutions found in posts but hasn't been able to find a working solution.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more