Your stack

Authentication

Add user authentication to your app. Nextkit installs the provider and wires the routes, providers, and environment variables for you.

Available providers

NextAuthdefault
Self-hosted authentication for Next.js. The default when a database is selected.
Clerk
A managed user-management service with prebuilt UI components.
Kinde
A managed auth and user-access platform.
No Authentication
Skip authentication.
NextAuth needs a database
NextAuth persists sessions and accounts, so it's only offered when you've chosen a database. If you select No Database, your options are Clerk, Kinde, or none — both Clerk and Kinde store users on their own platform.

What gets wired up

  • The provider's SDK installed and configured.
  • The route handlers and client providers needed for sessions.
  • Placeholder environment variables for the keys each provider requires.

Environment variables

Fill in the credentials before signing in. As a rough guide: NextAuth needs a secret and any OAuth provider keys you enable; Clerk and Kinde need the publishable/secret keys and URLs from their dashboards. Check the generated env file for the exact names.