Skip to content
Migrating from NextAuth.js v4? Read our migration guide.
Getting Started
Providers
Passage

Passage Provider

Resources

Setup

Callback URL

https://example.com/api/auth/callback/passage

Environment Variables

AUTH_PASSAGE_ID
AUTH_PASSAGE_SECRET
AUTH_PASSAGE_ISSUER

Configuration

/auth.ts
import NextAuth from "next-auth"
import Passage from "next-auth/providers/passage"
 
export const { handlers, auth, signIn, signOut } = NextAuth({
  providers: [Passage],
})
Auth.js © Balázs Orbán and Team - 2024