GitHub
github.com › expo › expo › tree › main › packages › expo-auth-session
expo/packages/expo-auth-session at main · expo/expo
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.
Author expo
Videos
17:40
Building an Auth Flow with Expo Router - YouTube
01:55:48
How to integrate Google Sign-In with Expo I Expo Router API Routes ...
Expo Auth Session - Login with Google in React Native Apps ...
21:38
Expo Auth Session for Google Authentication on React Native Apps ...
36:07
Sign In with Google | React Native Expo | Tutorial 2023 - YouTube
20:26
Adding Google Auth to Expo React Native Apps for Android and Apple ...
Expo Documentation
docs.expo.dev › guides › authentication
Authentication with OAuth or OpenID providers - Expo Documentation
GitHub Auth Example · Copy · import { useEffect } from 'react'; import * as WebBrowser from 'expo-web-browser'; import { makeRedirectUri, useAuthRequest } from 'expo-auth-session'; import { Button } from 'react-native'; WebBrowser.maybeCompleteAuthSession(); // Endpoint const discovery = { authorizationEndpoint: 'https://github.com/login/oauth/authorize', tokenEndpoint: 'https://github.com/login/oauth/access_token', revocationEndpoint: 'https://github.com/settings/connections/applications/<CLIENT_ID>', }; export default function App() { const [request, response, promptAsync] = useAuthRequest
npm
npmjs.com › package › expo-auth-session
expo-auth-session - npm
npm i expo-auth-session · github.com/expo/expo · docs.expo.dev/versions/latest/sdk/auth-session · 420,513 · 7.0.10 · MIT · 395 kB · 104 · 3 days ago · ide · brentvatne · evanbacon · expoadmin · exponent · bycedric · kudochien · alanhughes · expo-bot · wschurman ·
» npm install expo-auth-session
Published Dec 05, 2025
Version 7.0.10
Author 650 Industries, Inc.
Repository https://github.com/expo/expo
GitHub
github.com › TransformCore › expo-auth-session
GitHub - TransformCore/expo-auth-session: A fork of the expo-auth-session module to support Auth Code with PKCE, and token refresh.
A fork of the expo-auth-session module to support Auth Code with PKCE, and token refresh. - TransformCore/expo-auth-session
Author TransformCore
GitHub
gist.github.com › thedewpoint › 181281f8cbec10378ecd4bb65c0ae131
Auth0 with refresh tokens and expo-auth-session · GitHub
If using Auth0 you need to pass in a path for the return url as well as the scheme. // app.json scheme is robapp // expo 47 const redirectUri = AuthSession.makeRedirectUri({ useProxy }); // expo 48 const redirectUri = AuthSession.makeRedirectUri({ scheme: 'robapp', path: 'root' });
GitHub
github.com › expo › expo › blob › main › packages › expo-auth-session › src › providers › Google.ts
expo/packages/expo-auth-session/src/providers/Google.ts at main · expo/expo
An open-source framework for making universal native apps with React. Expo runs on Android, iOS, and the web. - expo/packages/expo-auth-session/src/providers/Google.ts at main · expo/expo
Author expo
Lucia
v2.lucia-auth.com › guidebook › github-oauth-native › expo
Github OAuth in Expo - Lucia Auth
Parse the url and store the session token with SecureStore. // app/App.tsx import * as Browser from "expo-web-browser"; import * as Linking from "expo-linking"; import * as SecureStore from "expo-secure-store"; export default function App() { const signIn = async (): Promise<User | null> => { const result = await Browser.openAuthSessionAsync( "http://localhost:3000/login/github", "exp://192.168.2.100:8081/login" ); if (result.type !== "success") return; const url = Linking.parse(result.url); const sessionToken = url.queryParams?.session_token?.toString() ??
GitHub
github.com › expo › expo › issues › 17617
Expo-auth-session - redirectUri · Issue #17617 · expo/expo
May 23, 2022 - import * as AuthSession from 'expo-auth-session'; import * as WebBrowser from 'expo-web-browser'; import React from 'react'; import {Button} from 'react-native'; WebBrowser.maybeCompleteAuthSession(); function Page() { const [, , promptAsync] = AuthSession.useAuthRequest( { redirectUri: 'https://www.fake_my_app.com/verify', // Fake http redirectUri clientId: '123ABCD456', // Fake client id responseType: 'token', scopes: ['openid'], }, { tokenEndpoint: 'https://fake_open_id.com/token/', authorizationEndpoint: 'https://fake_open_id.com/authorization/', }, ); return <Button title="Handle auth" onPress={() => promptAsync()} />; } export {Page};
Published May 23, 2022
CodeSandbox
codesandbox.io › examples › package › expo-auth-session
expo-auth-session examples - CodeSandbox
docs.expo.dev/versions/latest/sdk/auth-session · github.com/expo/expo · github.com/expo/expo/issues ·
GitHub
github.com › expo › expo › blob › main › packages › expo-auth-session › CHANGELOG.md
expo/packages/expo-auth-session/CHANGELOG.md at main · expo/expo
Fix for breaking change in expo-constants to only support new manifests. (#24267 by @wschurman) This version does not introduce any user-facing changes. This version does not introduce any user-facing changes. This version does not introduce any user-facing changes. Remove references to startAsync from js doc. (#23150 by @alanhughes) Remove unnecessary test. (#23154 by @alanhughes) This version does not introduce any user-facing changes. Remove all auth proxy APIs.
Author expo
GitHub
github.com › expo › expo › issues › 18699
Problem with expo-auth-session · Issue #18699 · expo/expo
August 18, 2022 - You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. ... I implemented Facebook Sign-in with expo-auth-session and when trying to login I get an error in response URL Blocked.
Published Aug 18, 2022
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 - import React, { useEffect } from "react"; import { View, Text, Button } from "react-native"; import * as AuthSession from "expo-auth-session"; import * as Google from "expo-auth-session/providers/google"; import * as WebBrowser from "expo-web-browser"; WebBrowser.maybeCompleteAuthSession(); const SocialLoginOptions = (): JSX.Element => { const [request, response, promptAsync] = Google.useAuthRequest({ androidClientId: "id0000.apps.googleusercontent.com", iosClientId: "id0000.apps.googleusercontent.com", expoClientId: "id0000.apps.googleusercontent.com", }); useEffect(() => { console.log("respo
Published Feb 03, 2023
Expo Documentation
docs.expo.dev › develop › authentication
Authentication in Expo and React Native apps - Expo Documentation
The setup for Google, Apple, or GitHub will follow the same general steps. The previous diagram shows a high-level overview of the OAuth flow. However, the preferred method for a client to obtain an authorization grant from the user is to use an authorization server as an intermediary, which is exactly what you can build using Expo API Routes.
GitHub
github.com › expo › expo › blob › master › docs › pages › versions › unversioned › sdk › auth-session.md
expo/docs/pages/versions/unversioned/sdk/auth-session.md at master · expo/expo
When you open an authentication session with AuthSession, it first visits https://auth.expo.io/@your-username/your-app-slug/start and passes in the authUrl and returnUrl (the URL to redirect back to your application) in the query parameters.
Author expo
GitHub
github.com › expo › fyi › blob › main › expo-app-auth-deprecated.md
fyi/expo-app-auth-deprecated.md at main · expo/fyi
In May 2020 we rewrote expo-auth-session as a pure JS replacement for most of the authentication systems in Expo.
Author expo