[SOLVED] React Native (Expo) Google OAuth not redirecting back to my app
- 0
- Resolved
- 3
- Android
- React Native
- Auth
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!
What's the deeplink url?
Ignore the RedirectURL
And that's the correct project id?
And this is still your code?
Using the same project ID and yes, I am still using the same code.
oh and one more thing to consider, I am developing for Android.
And what's the page you end up on?
it stucks here
Weird the page is blank like that...
Are you able to see what the the url is?
Maybe using chrome remote dev tools or that some option in the menu in the emulator
I added a few print statements to check the URL.
This is the same URL which is being opened in the BrowserSession on the emulator
Do you go though Google first?
Yes, but not anymore. It showed me only once asking for permission to sign in with google. After that, it just showed this.
Is it working for you?
It adds the email in the users but doesn't redirect.
You can't log the url in your app because that's the first url in the flow; it's not necessarily the email you're ending up on
This one is not from the logs. I copied it from the browserSession which was showing the constant empty page.
You need to see what the URL it's getting stuck on is
It is infinitely loading on the google auth page
I have been trying to get it to work but still no luck😩
Please look into getting the url. Maybe using chrome remote dev tools or that some option in the menu in the emulator
Ok boss🫡
Recommended threads
- [1.9.5] Google OAuth do not work anymore
After migrating to 1.8.1 to 1.9.0 then 1.9.5 and login through Google I get on Flutter app "Missing redirect URL" "Your OAuth login flow is missing a proper re...
- Auth not working
guys my appwrite auth isnt working? oauth works (Sign in with google n discord) i have 2 websites deployed where do i get help when i do sign in with email and ...
- Appwrite rejecting create and edit reque...
hello, so my issue is that when i make a debug build of my app, everything works as it should, but when i download and test a SIGNED release database rejects al...