Skip to content

mryechkin/nextjs-supabase-auth

Repository files navigation

Next.js + Supabase Auth

Next.js Supabase Supabase License

Banner image

Overview

Sample project showing how to add authentication to Next.js 13+ using Supabase Auth and the App Router with React Server Components.

This project is a supplement to this guide. See the link for a detailed tutorial.

Note The main branch is using the latest version of Auth Helpers with the Proof Key for Code Exchange (PKCE) flow. If you are looking for the older version (using Auth Helpers 0.6.1 or earlier) see the v2 branch.

Disclaimer

This repo is meant to be an example only. Please feel free to fork it and make it your own.

Author

Mykhaylo Ryechkin

License

MIT