Skip to content

ebrammer/steadfast-landing

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Supabase email confirmation (/auth/callback)

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

  1. Bare URL: open /auth/callback; expect the “email is confirmed” success copy (or tighten product rules if you need stricter detection).
  2. Error params: open /auth/callback?error=access_denied&error_description=Test; expect the error copy on the page.
  3. Real flow: use your confirmation email link; after Supabase verifies, you should land here with success copy (and optional “Open Steadfast app” deep link).

Supabase password recovery (/auth/recovery)

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

  1. Bare URL: open /auth/recovery; expect expired/incomplete copy.
  2. Error params: open /auth/recovery?error=access_denied&error_description=Test; expect error copy.
  3. Handoff: open /auth/recovery?code=test-code; “Continue in Steadfast” should target steadfast://steadfastfaith.app/auth/recovery?code=test-code.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open 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.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

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.

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors