Expo app : RedirectTo field with Supabase Auth always set to localhost
Source: Dev.to
Issue
You are building an Expo mobile app with Supabase as a backend.
You have correctly set the redirect URL to exp://auth/callback in the URL configuration of Supabase Auth and want to test the flow on Expo Go.
If the reset‑password link sent by email always contains localhost as the redirectTo address, the authentication flow will not work correctly in Expo Go.
Fix
Run the Expo development server using the tunnel option so that Supabase receives a reachable URL instead of localhost:
npx expo start --tunnelThis forces Expo to generate a tunnel URL (e.g., https://xxxx.ngrok.io) that Supabase can use for redirects, eliminating the localhost problem.
Visual reference
