跳至内容
从 NextAuth.js v4 迁移? 阅读 我们的迁移指南.
入门提供商Beyondidentity

Beyond Identity 提供商

资源

设置

回调 URL

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