Skip to content
Back

React Native (Expo) Google OAuth not redirecting back to my app

  • 0
  • Android
  • React Native
  • Auth
Danny
3 Aug, 2025, 15:03

Recently, I tested my app and found that the previous hack for the google auth is now not working anymore. After searching and reading docs, I was able to set it up again but now I am unable to redirect back to my app after the google sign in. Attached picture shows the code for the googleAuth. Please Help!

TL;DR
Google OAuth is not redirecting back to the app in React Native (Expo). The developer is experiencing issues with the redirect process after Google sign-in. They have tried different solutions but are still unable to resolve the problem. If you have encountered and fixed this issue, please share your solution.
Steven
3 Aug, 2025, 15:08

What's the deeplink url?

Danny
3 Aug, 2025, 15:11

Ignore the RedirectURL

Steven
3 Aug, 2025, 15:13

And that's the correct project id?

Steven
3 Aug, 2025, 15:14

And this is still your code?

Danny
3 Aug, 2025, 15:14

Using the same project ID and yes, I am still using the same code.

Danny
3 Aug, 2025, 15:19

oh and one more thing to consider, I am developing for Android.

Steven
3 Aug, 2025, 15:26

And what's the page you end up on?

Danny
3 Aug, 2025, 15:27

it stucks here

Steven
3 Aug, 2025, 15:38

Weird the page is blank like that...

Are you able to see what the the url is?

Steven
3 Aug, 2025, 15:38

Maybe using chrome remote dev tools or that some option in the menu in the emulator

Danny
3 Aug, 2025, 15:39

I added a few print statements to check the URL.

Steven
3 Aug, 2025, 15:54

Do you go though Google first?

Danny
3 Aug, 2025, 15:55

Yes, but not anymore. It showed me only once asking for permission to sign in with google. After that, it just showed this.

Danny
3 Aug, 2025, 15:56

Is it working for you?

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