BlocksAuthLogin Supabase

Login Supabase

Prosupabase

About this block

Login 02 is a full-stack split-screen authentication page pre-connected to Supabase Auth. It includes email/password login with server-side validation, OAuth buttons for GitHub and Google, a PKCE callback route, and session refresh middleware — all wired and ready to ship. Built with shadcn/ui components and the Supabase SSR client, it installs with a single npx shadcn command and requires only your Supabase project URL and publishable key to run. No additional configuration is needed.

When to use it

  • Next.js 15 App Router projects using Supabase as the authentication backend
  • SaaS products that need email/password and social OAuth without spending days wiring auth
  • Projects where auth is a commodity requirement and developer time is better spent on product features
  • Teams that want a reference implementation of Supabase SSR auth patterns they can extend

Notes

Requires NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY environment variables. The PKCE callback route is included in the installed files — add /auth/callback to your Supabase allowed redirect URLs.