CommitteeClash Documentation
API
Backend
Frontend
Actions
App
Components
Lib
Auth
AuthOptions
Functions
CreateAuthOptions
FetchWithValidation
GetSecret
Utils
Types
FrontendLibAuthAuthOptionsFunctions

CreateAuthOptions

Function: createAuthOptions()

function createAuthOptions(): AuthOptions

Defined in: src/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.

Functions

Previous Page

FetchWithValidation

Next Page

On this page

Function: createAuthOptions()Returns