Skip to content
The Auth.js project is now part of Better Auth.

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 © Better Auth Inc. - 2025