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

Answer from paichato on Stack Overflow
🌐
Expo Documentation
docs.expo.dev › versions › latest › sdk › auth-session
AuthSession - Expo Documentation
Note: the web browser should share cookies with your system web browser so that users do not need to sign in again if they are already authenticated on the system browser -- Expo's WebBrowser API takes care of this. Authentication provider redirects: upon successful authentication, the authentication provider should redirect back to the application by redirecting to URL provided by the app in the query parameters on the sign in page (read more about how linking works in mobile apps), provided that the URL is in the allowlist of allowed redirect URLs.
🌐
Expo Documentation
docs.expo.dev › guides › authentication
Authentication with OAuth or OpenID providers - Expo Documentation
expo-auth-session provides a unified API for implementing OAuth and OpenID Connect providers on Android, iOS, and web. This guide will show you how to use the AuthSession API using a few examples. When using the AuthSession API, the following rules apply to all authentication providers: Use WebBrowser.maybeCompleteAuthSession() to dismiss the web popup. If you forget to add this then the popup window will not close.
🌐
Stack Overflow
stackoverflow.com › questions › tagged › expo-auth-session
Newest 'expo-auth-session' Questions - Stack Overflow
I am trying to use OAuth in my mobile app using doorkeeper (Rails) and expo-auth-session I managed to setup the login as follows: const [request, response, ... ... I was using Expo SDK 48 and my app was working fine with Google and Facebook authentication using a web browser based authentication scheme.
🌐
GitHub
github.com › expo › expo › issues › 23781
Expo-auth-session returns dismiss result on redirect, Android only · Issue #23781 · expo/expo
July 31, 2023 - It seems like expo-auth-session registers the window switch as if the user had exited/cancelled the authentication flow. I suspect this happens the moment the user is directed to the authentication flow, not when the user is redirected back to the app. Normally dismiss happens when a user exits the login flow halfway, however in this case the login is completed successfully. The flow works fine on iOS.
Published   Jul 31, 2023
🌐
GitHub
github.com › expo › expo › issues › 21437
After upgrading the expo-auth-session to 4, an error occurs when calling authUrl with startAsync. · Issue #21437 · expo/expo
January 17, 2023 - After upgrading the expo-auth-session to 4, an error occurs when calling authUrl with startAsync.#21437 ... I implemented a supabase auth login with startAsync. And it work well on ios, android, and web in [email protected], [email protected].
Published   Feb 28, 2023
🌐
GitHub
github.com › expo › expo › issues › 18699
Problem with expo-auth-session · Issue #18699 · expo/expo
August 18, 2022 - Summary I implemented Facebook Sign-in with expo-auth-session and when trying to login I get an error in response URL Blocked. I followed the docs and already added the right url to Valid OAuth Redirect URIs as specified in the documenta...
Published   Aug 18, 2022
🌐
Expo
auth.expo.io
Expo AuthSession Redirect Proxy
This service is deprecated. Instead, configure your app to navigate to the third-party authentication provider directly instead of using this service.
Find elsewhere
🌐
Reddit
reddit.com › r/expo › problems with expo-auth-session
r/expo on Reddit: Problems with expo-auth-session
October 12, 2025 -

Hi there! I'm working in a personal project and I want to make a log in and sign up with google, then I have been working with expo-auth-session (https://docs.expo.dev/versions/latest/sdk/auth-session/) and google cloud. The issue is that when I make log in, it never gets back to my app, everytime it redirect to google.com

I'm working in android. How can I fix this problem? did you find this issue anytime?

thanks you for advice!

Edit: My login button component is this (it's just a test, I never do it before):

WebBrowser.maybeCompleteAuthSession();
export const Login = () => {
  const [request, response, promptAsync] = Google.useAuthRequest({
    androidClientId: config.GOOGLE_ANDROID_CLIENT_ID,
    clientId: config.GOOGLE_ANDROID_CLIENT_ID,
  });
  const testSending = async (token: string) => {
    console.log("=========================TOKEN========================");
    console.log(token);
    console.log("=================================================");
  };
  useEffect(() => {
    if (response) {
      if (response.type === 'success') {
        const { authentication } = response;
        testSending(authentication?.idToken || ''); 
        console.log(authentication);
      }else {
        console.log("=========================FAILED========================");
        console.log("Login failed");
        console.log("=================================================");
      }
    }
  }, [response])


  return (
    <Pressable onPress={() => promptAsync().catch((error) => console.error(error))} disabled={!request} style={{ padding: 10, backgroundColor: 'blue' }}>
      <Text style={{ color: 'white' }}>Login with Google</Text>
    </Pressable>
  )
}
🌐
GitHub
github.com › expo › expo › issues › 21084
[expo-auth-session] I'm unable to sign in with Google on Android · Issue #21084 · expo/expo
February 3, 2023 - Summary I'm using the expo-auth-session in order to allow the Google social login in my app. The problem is that only works on iOS, and I don't know why it is not working on Android, and I ...
Published   Feb 03, 2023
🌐
GitHub
github.com › expo › expo › issues › 8957
Auth session sometimes ends with "Something went wrong trying to finish signing in." · Issue #8957 · expo/expo
June 25, 2020 - The auth session proxy service is deprecated and not recommended for production. For production apps, your app should navigate to the third-party authentication provider directly instead of using this service. This is the official workaround to this issue, which is likely unresolvable due to how browser cookie policies have changed.
Published   Jun 25, 2020
🌐
GitHub
github.com › expo › expo › issues › 7816
expo-auth-session does not work in ejected app · Issue #7816 · expo/expo
🐛 Bug Report In general the documentation is missing or incomplete for both Linking and for AuthSession for bare apps and its hours of googling and trial and error to try and get things working. I managed to get IOS working but Android i...
🌐
GitHub
github.com › expo › expo › issues › 13922
expo-auth-session not handling deep links · Issue #13922 · expo/expo
August 4, 2021 - Reload to refresh your session. ... I'm creating an expo application that must authenticate with IdentityServer4. I've triple checked the documentation and it seems I've followed every step; however, AuthSession isn't handling the redirect correctly ...
Published   Aug 04, 2021
🌐
npm
npmjs.com › package › expo-auth-session
expo-auth-session - npm
Granular tokens are now limited to 90 days and require 2FA by default. Update your CI/CD workflows to avoid disruption. Learn more.× ... AuthSession is the easiest way to implement web browser based authentication (for example, browser-based OAuth flows) to your app, built on top of expo-web-browser.
      » npm install expo-auth-session
    
Published   Dec 05, 2025
Version   7.0.10
Author   650 Industries, Inc.
🌐
GitHub
github.com › expo › expo › issues › 29153
[Android][expo-web-browser][expo-auth-session] Web based auth session is closed when user returns to the app by clicking the app icon · Issue #29153 · expo/expo
April 24, 2024 - It works fine in the iOS app, but on Android when user opens the app by clicking the app icon, the auth flow is closed and the app returns to the initial state. It works correctly on Android when the user opens the app via the recently opened apps tab. After some investigation, I found out that the same issue appears in the expo-web-browser openBrowserAsync flow.
Published   May 27, 2024
🌐
Stack Overflow
stackoverflow.com › questions › 75634599 › expo-authsession-does-not-work-on-the-first-try
react native - Expo AuthSession does not work on the first try - Stack Overflow
import * as Google from 'expo-auth-session/providers/google'; const [gglRequest, gglResponse, gglPromptAsync] = Google.useAuthRequest({ expoClientId: mobileSettings.expoClientId, iosClientId: mobileSettings.iosClientId, androidClientId: mobileSettings.AndroidClientId }); const onSignInPressed = async (ssoType: SSOType) => { await gglPromptAsync({ showInRecents: true, useProxy: true }); if (gglResponse?.type === 'success') { // gglResponse is null on the first request const { authentication } = gglResponse; await login(ssoType, authentication?.accessToken || ""); } else { return; } };
🌐
GitHub
github.com › expo › expo › issues › 16844
[expo-auth-session] Missing '/--/' on returnUrl · Issue #16844 · expo/expo
March 30, 2022 - Native sign in just works, but with the expo go proxy it seems to be stuck at "ValidationError: "returnUrl" must be a valid url". Then I had the brilliant idea of opening the thing in the browser de facto instead of just that internal browser, when I did it, I realized something about the following URL · https://auth.expo.io/at-myOrg/myProjectName/start?purposedlyOmittedByMe&returnUrl=exp://10.0.0.102:19000expo-auth-session · Note that the last query param returnUrl ends with 'expo-auth-session'.
Published   Mar 30, 2022
🌐
GitHub
github.com › expo › expo › issues › 11061
Google Provider in `expo-auth-session` does not return authorization code · Issue #11061 · expo/expo
June 22, 2020 - 🐛 Bug Report In expo-auth-session version ~2.0.0, when I follow the guide in docs about logging in with Google, I do not get the authorization code in my authentication object or in the params of the result (result.params). Looking into ...
Published   Nov 17, 2020
🌐
GitHub
github.com › expo › expo › issues › 18270
expo-auth-session with Google login problems in Development build on android · Issue #18270 · expo/expo
July 16, 2022 - hi, Loggin in with expo-auth-session works absolutely fine in Expo Go App but as soon as .apk is built, the login workflow opens the signin page and then closes after the login is complete but the response vanishes and does not do anything, but this happens only in .apk but works fine in Expo Go App.
Published   Jul 16, 2022