Skip to content
需要从 NextAuth.js v4 升级到最新版本吗?请查阅 版本升级指南

Beyond Identity Provider

Resources

Setup

Callback URL

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

Environment Variables

AUTH_BEYOND_IDENTITY_ID
AUTH_BEYOND_IDENTITY_SECRET
AUTH_BEYOND_IDENTITY_ISSUER

Configuration

/auth.ts
import NextAuth from "next-auth"
import BeyondIdentity from "next-auth/providers/beyondidentity"
 
export const { handlers, auth, signIn, signOut } = NextAuth({
  providers: [BeyondIdentity],
})