Passage 供應商
資源
設定
回呼 URL
https://example.com/api/auth/callback/passage
環境變數
AUTH_PASSAGE_ID
AUTH_PASSAGE_SECRET
AUTH_PASSAGE_ISSUER
組態
/auth.ts
import NextAuth from "next-auth"
import Passage from "next-auth/providers/passage"
export const { handlers, auth, signIn, signOut } = NextAuth({
providers: [Passage],
})