Blocks
Password Auth
Password-based authentication block for Next.js
Hey there Open in
Why not use Supabase UI?
Don't get me wrong, the password-based authentication for Supabase is good. But let's be honest, it's kinda stuck in the past.
Key issues with supabase ui block:
-
Outdated file naming conventions — They still use legacy names such as
middleware.tswhile Next.js 16 and later useproxy.ts -
Modern framework alignment — The Supabase UI components haven't fully adapted to the latest Next.js architectural changes
-
Technical debt — Continuing with legacy patterns creates maintenance overhead and confusion for developers using newer Next.js versions
The fix: I've updated these legacy naming conventions and outdated patterns to align with modern Next.js standards (v16+).
Installation
npx shadcn@latest add https://ui.quickprimetech.com/r/password-based-auth.jsoncoming soonUsage
Once installed, configure your environment variables:
NEXT_PUBLIC_SUPABASE_URL=your-url
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=your-key