跳至內容
從 NextAuth.js v4 遷移?請閱讀 我們的遷移指南.
開始使用提供者Beyondidentity

Beyond Identity 提供者

資源

設定

回呼網址

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

環境變數

AUTH_BEYOND_IDENTITY_ID
AUTH_BEYOND_IDENTITY_SECRET
AUTH_BEYOND_IDENTITY_ISSUER

組態

/auth.ts
import NextAuth from "next-auth"
import BeyondIdentity from "next-auth/providers/beyondidentity"
 
export const { handlers, auth, signIn, signOut } = NextAuth({
  providers: [BeyondIdentity],
})
Auth.js © Balázs Orbán 和團隊 -2024