🌐
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
🌐
GitHub
gist.github.com › jdthorpe › aaa0d31a598f299a57e5c76535bf0690
expo-auth-session example · GitHub
Do you know why? I remember Expo Go asked me for permission to access external link before open Google's authentication screen on my old login method using AuthSession.startAsync({ authUrl }) (SDK 48) and now it doesn't ask me anymore.
🌐
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
🌐
Expo Documentation
docs.expo.dev › versions › latest › sdk › auth-session
AuthSession - Expo Documentation
This works because AuthSession adds +expo-auth-session to the default returnUrl; however, if you provide your own returnUrl, you may want to consider adding a similar identifier to enable you to filter out AuthSession events from other handlers.
🌐
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.
🌐
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
Find elsewhere
🌐
GitHub
github.com › topics › expo-auth-session
expo-auth-session · GitHub Topics · GitHub
Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. ... android ios react-native react-navigation styled-components google-oauth async-storage expo victory-native finance-app react-hook-form expo-auth-session
🌐
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