DocumentationIntroduction
Introduction
next-auth-template
is a Next.js template that gets you up and running with social sign in, magic links, database-backed sessions, plus account creation and setup. It’s a good starting point for your next project.
Features#
- Custom sign in and sign up pages as a starting point for your own
- Database-backed sessions all managed for you thanks to Auth.js and Drizzle ORM
- Basic account creation and set up for first time users
- Google Sign-in ready for config, easily add other providers Auth.js has to offer
- Optional Magic Links via Resend ready for config, or any other email provider Auth.js can support
- Protected paths via middleware, easily customisable to your needs