Skip to content
Migrating from NextAuth.js v4? Read our migration guide.

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],
})
Auth.js © Balázs Orbán and Team - 2024