CreateAuthOptions

Function: createAuthOptions()

function createAuthOptions(): AuthOptions

Defined in: lib/auth/authOptions.tsx:12

Configuration options for NextAuth authentication. This configuration uses IdentityServer4 as the OAuth provider. It includes callbacks for handling JWT tokens and session management.

Returns

AuthOptions
  • The NextAuth options.

On this page