Skip to content

OidcClientConfig

Defined in: client/src/types.ts:60

Configuration for OidcClient, extending the core OidcConfig with client-specific options.

clientId: string

Defined in: core/src/types.ts:11

OAuth 2.0 client identifier issued during registration (RFC 6749 Section 2.2).

OidcConfig.clientId


optional clientSecret?: string

Defined in: core/src/types.ts:13

Client secret for confidential clients (RFC 6749 Section 2.3.1). Omit for public clients.

OidcConfig.clientSecret


optional fetchProfile?: boolean

Defined in: client/src/types.ts:62

Whether to fetch the userinfo profile after token exchange. Defaults to true.


issuer: string

Defined in: core/src/types.ts:9

Issuer identifier URL (must match the discovery document’s issuer field).

OidcConfig.issuer


optional postLogoutRedirectUri?: string

Defined in: core/src/types.ts:19

URI to redirect to after logout (OpenID Connect RP-Initiated Logout 1.0).

OidcConfig.postLogoutRedirectUri


optional redirectUri?: string

Defined in: core/src/types.ts:15

Redirection URI for authorization code responses (RFC 6749 Section 3.1.2).

OidcConfig.redirectUri


optional scopes?: string[]

Defined in: core/src/types.ts:17

OAuth 2.0 scopes to request. Defaults to ["openid"] if omitted.

OidcConfig.scopes