IdentityProviderConfigOidcIdentityProviderConfig

data class IdentityProviderConfigOidcIdentityProviderConfig(val clientId: String, val groupsClaim: String? = null, val groupsPrefix: String? = null, val issuerUrl: String, val requiredClaims: List<IdentityProviderConfigRequiredClaim>? = null, val usernameClaim: String? = null, val usernamePrefix: String? = null)

An object representing an OpenID Connect (OIDC) configuration.

Constructors

constructor(clientId: String, groupsClaim: String? = null, groupsPrefix: String? = null, issuerUrl: String, requiredClaims: List<IdentityProviderConfigRequiredClaim>? = null, usernameClaim: String? = null, usernamePrefix: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

This is also known as audience. The ID for the client application that makes authentication requests to the OpenID identity provider.

Link copied to clipboard
val groupsClaim: String? = null

The JWT claim that the provider uses to return your groups.

Link copied to clipboard
val groupsPrefix: String? = null

The prefix that is prepended to group claims to prevent clashes with existing names (such as system: groups).

Link copied to clipboard

The URL of the OpenID identity provider that allows the API server to discover public signing keys for verifying tokens.

Link copied to clipboard

The key-value pairs that describe required claims in the identity token. If set, each claim is verified to be present in the token with a matching value.

Link copied to clipboard
val usernameClaim: String? = null

The JSON Web Token (JWT) claim to use as the username. The default is sub, which is expected to be a unique identifier of the end user. You can choose other claims, such as email or name, depending on the OpenID identity provider. Claims other than email are prefixed with the issuer URL to prevent naming clashes with other plug-ins.

Link copied to clipboard
val usernamePrefix: String? = null

The prefix that is prepended to username claims to prevent clashes with existing names. If you do not provide this field, and username is a value other than email, the prefix defaults to issuerurl#. You can use the value - to disable all prefixing.