This is a Next.js project bootstrapped with create-next-app.
Production URL: https://www.steadfastfaith.app/auth/callback — add that value exactly under Supabase Dashboard → Authentication → URL configuration → Redirect URLs.
This page does not call Supabase from the browser. Supabase verifies the email before redirecting here; this route only shows a confirmation message, surfaces error / error_description from the URL if something failed, and strips sensitive query/hash from the address bar.
QA checklist
- Bare URL: open
/auth/callback; expect the “email is confirmed” success copy (or tighten product rules if you need stricter detection). - Error params: open
/auth/callback?error=access_denied&error_description=Test; expect the error copy on the page. - Real flow: use your confirmation email link; after Supabase verifies, you should land here with success copy (and optional “Open Steadfast app” deep link).
Production URL: https://www.steadfastfaith.app/auth/recovery — allowlist under Supabase Redirect URLs alongside steadfast://steadfastfaith.app/auth/recovery.
Supabase verifies the reset token before redirecting here. This route captures the PKCE code (or implicit tokens), deeplinks to steadfast://steadfastfaith.app/auth/recovery with the same query/hash so the native app can finish the exchange, then strips sensitive params from the address bar.
QA checklist
- Bare URL: open
/auth/recovery; expect expired/incomplete copy. - Error params: open
/auth/recovery?error=access_denied&error_description=Test; expect error copy. - Handoff: open
/auth/recovery?code=test-code; “Continue in Steadfast” should targetsteadfast://steadfastfaith.app/auth/recovery?code=test-code.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.