Skip to content

OidcOptions

1 min read

Import: import system.webapi.auth;

Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.

OidcOptions

One external OIDC identity provider. Redirect URIs must match the registered callback exactly.

public class OidcOptions

name

Provider name used in login routes and to label linked identities.

public name: string

issuer

Identity of the token issuer.

public issuer: string

client_id

Application identifier registered with the identity provider.

public client_id: string

client_secret

Confidential client credential; keep this value secret.

public client_secret: string

redirect_uri

Registered callback URL receiving the authorization response.

public redirect_uri: string

constructor

Creates a OidcOptions with name, issuer, client_id, redirect_uri, client_secret.

public constructor(
    name: string,
    issuer: string,
    client_id: string,
    redirect_uri: string,
    client_secret: string = ""
)