Videos
» npm install expo-auth-session
Try this:
-Login to your expo account: on command line type:
expo login
##then your account credencials##
then restart your expo instance:
expo start
And everything should work fine
I have the exact same issue. I've posted on the Expo forums too and tried to contact the devs about it but nobody's responding to me. I think it's been broken with a recent change. If you look at the redirect URL it's supposed to have two more query parameters one for the authentication URL and one for the return URL
I had the same configuration as yours, a little bit different is in the
scheme value in app.json.
So this issue is regarding the deep linking mechanism that currently has no longer supported due to the risk of app impersonation.
To solve this what you need is enable scheme manually in your OAUTH credentials.
- Go to credentials page
- Select your current OAUTH credentials
- Open Advanced setting
- Check Enable custom URI scheme Enable scheme
For more details you can check reference here: https://developers.google.com/identity/protocols/oauth2/native-app#redirect-uri_custom-scheme
could it be that you are logging in , on expo go, through a web browser as opposed to your app? and that google chrome or other trusted browsers are not installed in google play on your expo go? I tried installing google chrome first on my expo go then ran my app and it worked ok