Back

Problem with redirect uri in Oauth implementation in expo app

  • 0
  • React Native
Swayam
17 Jan, 2025, 14:56

Hi. I am implementing google signup in my Expo app. But the redirect url I am getting is in form: scheme/localhost/?secret&userid

But I don't have the localhost screen in the app and upon redirection, I get missing page error.

If I try to change the pathname, it throws error: Invalid `success' param: URL host must be one of: localhost, cloud.appwrite.io, appwrite.io Type

I have attached the and source code and the result url

TL;DR
Developers are having an issue with the redirect URI in their Expo app when implementing Google signup. The current redirect URL is causing missing page errors due to the localhost path not existing in the app. Attempting to modify the pathname leads to errors due to restrictions on accepted hosts for the URL. A possible solution would involve adjusting the redirect URI settings to a permissible host like localhost, cloud.appwrite.io, or appwrite.io.
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