Interface: OIDCProvider
Defined in: src/auth/OIDCStrategy.ts:52
Properties
authorizationURL
authorizationURL:
string
Defined in: src/auth/OIDCStrategy.ts:56
The URL of the provider's API that will be used to perform authorization requests.
clientID
clientID:
string
Defined in: src/auth/OIDCStrategy.ts:58
The unique identifier that has been provided by the OIDC provider.
clientSecret
clientSecret:
string
Defined in: src/auth/OIDCStrategy.ts:60
The shared secret that has been provided by the OIDC provider.
issuer?
optionalissuer?:string
Defined in: src/auth/OIDCStrategy.ts:95
The expected iss claim of ID tokens from this provider. Required when protocol is
openid and the provider returns an id_token.
jwksURI?
optionaljwksURI?:string
Defined in: src/auth/OIDCStrategy.ts:90
The provider's JWKS endpoint, used to verify ID token signatures. Required when protocol
is openid and the provider returns an id_token.
name
name:
string
Defined in: src/auth/OIDCStrategy.ts:54
The unique name of the provider that can be used for authentication.
pkce?
optionalpkce?:boolean|PkceMethod
Defined in: src/auth/OIDCStrategy.ts:66
Indicates whether PKCE is required by the OIDC provider. Set to true to allow either
S256 or plain (the client may choose), or set to "S256"/"plain" to require that
specific method regardless of what the client requests.
profileMap?
optionalprofileMap?:any
Defined in: src/auth/OIDCStrategy.ts:71
The default transformation map to use to convert the third-party profile data to an OIDCProfile.
Default is DEFAULT_PROFILE_MAP.
profileURL?
optionalprofileURL?:string
Defined in: src/auth/OIDCStrategy.ts:73
The URL of the provider's API that the user profile can be retrieved from.
protocol
protocol:
string
Defined in: src/auth/OIDCStrategy.ts:75
The authentication protocol to use (e.g. OIDC 2.0 or Open ID).
redirectURI
redirectURI:
string|string[]
Defined in: src/auth/OIDCStrategy.ts:81
The callback URI (or list of allowed callback URIs) that have been registered with the OIDC
provider. A caller may request a specific redirect_uri via query parameter, but only a value
that exactly matches one of these is honored — anything else is rejected.
scope?
optionalscope?:string[]
Defined in: src/auth/OIDCStrategy.ts:83
The list of scopes to request during the authentication process. Default is none.
tokenURL
tokenURL:
string
Defined in: src/auth/OIDCStrategy.ts:85
The URL of the provider's API that will perform token exchange.