Supabase wordmarkSupabase wordmarkDOCS
  • Start
Supabase wordmarkSupabase wordmarkDOCS
Main menu
    Auth
  • Overview
  • Architecture
  • Getting Started
  • Next.js
  • React
  • React Native
  • Concepts
  • Users
  • Identities
  • Sessions
  • Flows (How-tos)
  • Server-Side Rendering
  • Password-based
  • Email (Magic Link or OTP)
  • Phone Login
  • Social Login (OAuth)
  • Enterprise SSO
  • Anonymous Sign-Ins
  • Mobile Deep Linking
  • Identity Linking
  • Multi-Factor Authentication
  • Signout
  • Debugging
  • Error Codes
  • Third-party auth
  • Overview
  • Clerk
  • Firebase Auth
  • Auth0
  • AWS Cognito (Amplify)
  • Configuration
  • General Configuration
  • Email Templates
  • Redirect URLs
  • Auth Hooks
  • Custom SMTP
  • User Management
  • Security
  • Password Security
  • Rate Limits
  • Bot Detection (CAPTCHA)
  • JWTs
  • Row Level Security
  • Column Level Security
  • Custom Claims & RBAC
  • Auth UI
  • Auth UI (Deprecated)
  • Flutter Auth UI
Supabase wordmarkSupabase wordmarkDOCS
  • Start
Supabase wordmarkSupabase wordmarkDOCS
Auth

Supabase Auth with the Next.js App Router


The auth-helpers are now deprecated. Use @supabase/ssr to set up Auth for your Next.js app. See the Next.js Server-Side Auth guide to learn how.

Edit this page on GitHub

Is this helpful?

  • Need some help?

    Contact support
  • Latest product updates?

    See Changelog
  • Something's not right?

    Check system status

© Supabase Inc—ContributingAuthor StyleguideOpen SourceSupaSquad
GitHubTwitterDiscord