Configuration for creating an OIDC client instance.

interface OidcConfig {
    acrValues?: string;
    callbackFactory?: JourneyCallbackFactory;
    clientId: string;
    display?: AuthDisplayValue;
    log?: LogLevel;
    loginHint?: string;
    middleware?: LegacyRequestMiddleware[];
    nonce?: string;
    oauthThreshold?: number;
    par?: boolean;
    platformHeader?: boolean;
    prefix?: string;
    prompt?: AuthPromptValue;
    query?: Record<string, string>;
    realmPath?: string;
    redirectUri: string;
    responseType?: ResponseType;
    scope: string;
    serverConfig: { timeout?: number; wellknown: string };
    signOutRedirectUri?: string;
    tokenStore?: CustomStorageObject | "sessionStorage" | "localStorage";
    tree?: string;
    type?: string;
    uiLocales?: string;
}

Hierarchy (View Summary)

Properties

acrValues?: string
callbackFactory?: JourneyCallbackFactory
clientId: string
log?: LogLevel
loginHint?: string
nonce?: string
oauthThreshold?: number
par?: boolean

Use Pushed Authorization Requests (PAR) for the authorization flow.

platformHeader?: boolean
prefix?: string
query?: Record<string, string>
realmPath?: string
redirectUri: string
responseType?: ResponseType
scope: string
serverConfig: { timeout?: number; wellknown: string }
signOutRedirectUri?: string

URI to redirect to after logout; maps to post_logout_redirect_uri in the end-session request.

tokenStore?: CustomStorageObject | "sessionStorage" | "localStorage"
tree?: string
type?: string
uiLocales?: string