Skip to content

OidcConfig

Defined in: packages/core/src/types.ts:7

Client configuration for an OIDC/OAuth 2.0 provider.

Supports both public clients (no clientSecret) and confidential clients. See RFC 6749 Section 2.1 for client type definitions.

clientId: string

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

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


optional clientSecret?: string

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

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


issuer: string

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

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


optional postLogoutRedirectUri?: string

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

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


optional redirectUri?: string

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

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


optional scopes?: string[]

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

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