nderscore / expo-router-auth-demo

Bug reproduction for Expo Router + Expo Auth Session

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expo Router + Expo Auth Session

This repository demonstrates a bug that occurs when using Expo Router with Expo Auth Session.

On Android devices, the user is sent to a 404 page after successfully completing authentication.

Steps

  1. Clone repo, install deps (yarn)
  2. Copy .env.example to .env and fill in a valid GitHub OAuth app client ID (or rewrite components/AuthProvider.tsx to use a different OAuth provider)
  3. Start dev server yarn start
  4. Test auth flow on Android emulator/device

About

Bug reproduction for Expo Router + Expo Auth Session


Languages

Language:TypeScript 91.3%Language:JavaScript 7.6%Language:Shell 1.1%