Skip to content

Supabase Authentication

An example web app using Supabase and Next.js.

Framework Next.js
Use Case Starter
CSS CSS
Database Supabase
Auth Supabase Auth
Publisher Supabase

Supabase Authentication

This example shows how to use Supabase Auth on the client and server in both API Routes and when using server-side rendering (SSR).

Deploy with Vercel

The Vercel deployment will guide you through creating a Supabase account and project. After installation of the Supabase integration, all relevant environment variables will be set up so that the project is usable immediately after deployment 🚀

Running Locally

  1. cd into this directory
  2. Run npm install to install dependencies
  3. Create a Supabase account and new project
  4. Copy .env.local.example into .env.local and add the project keys
  5. Run npm run dev to start the local development server

Feedback and issues

Please file feedback and issues over on the Supabase GitHub org.

More Supabase examples

Supabase Authentication

An example web app using Supabase and Next.js.

Framework Next.js
Use Case Starter
CSS CSS
Database Supabase
Auth Supabase Auth
Publisher Supabase

Supabase Authentication

This example shows how to use Supabase Auth on the client and server in both API Routes and when using server-side rendering (SSR).

Deploy with Vercel

The Vercel deployment will guide you through creating a Supabase account and project. After installation of the Supabase integration, all relevant environment variables will be set up so that the project is usable immediately after deployment 🚀

Running Locally

  1. cd into this directory
  2. Run npm install to install dependencies
  3. Create a Supabase account and new project
  4. Copy .env.local.example into .env.local and add the project keys
  5. Run npm run dev to start the local development server

Feedback and issues

Please file feedback and issues over on the Supabase GitHub org.

More Supabase examples

Unleash New Possibilities

Deploy your app on Vercel and unlock its full potential