Skip to content
The Auth.js project is now part of Better Auth.

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 © Better Auth Inc. - 2025