Sign up and auth,
super quick

The best start when building your Next.js app with baked in social sign in, magic links, user management, and more.

npx next-auth-template

Getting started guide

Choose a model for your needs:

One to One

Each user has their own isolated account, and accounts do not support additional users.

  • Super simple user and account model
  • No need for any user management UI

One to Many
Recommended

An account can have many users, but each user belongs to only 1 account.

  • Users can be invited to an account
  • Simple role based permission management
  • Simple user management UI

Many to Many
Coming Soon

An account can have multiple users, and a user can belong to multiple accounts.

  • Everything from One to Many
  • Users can switch between accounts