Update Identity Provider
Changed onUpdates the configuration of an existing identity provider. This operation allows modifications to be made to an existing identity provider's configuration.
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
The Portal identifier
ID of the identity provider.
Request body
The identity provider that contains configuration data for updating an authentication integration.
Indicates whether the identity provider is enabled. Only one identity provider can be active at a time, such as SAML or OIDC. When omitted, the current value is left unchanged.
The configuration data to update for the authentication integration.
Example request
{
"enabled": true,
"config": {
"issuer_url": "https://konghq.okta.com/oauth2/default",
"client_id": "YOUR_CLIENT_ID",
"client_secret": "YOUR_CLIENT_SECRET",
"scopes": [
"openid",
"email",
"profile"
],
"claim_mappings": {
"name": "name",
"email": "email",
"groups": "groups"
}
}
}Response
An identity provider configuration. This response represents the configuration of a specific identity provider, which can be either OIDC or SAML.
The identity provider that contains configuration data for authentication integration.
Contains a unique identifier used for this resource.
Specifies the type of identity provider.
Indicates whether the identity provider is enabled. Only one identity provider can be active at a time, such as SAML or OIDC.
The configuration data for the authentication integration.
An ISO-8601 timestamp representation of entity creation date.
An ISO-8601 timestamp representation of entity update date.
Example response
{
"id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"type": "oidc",
"enabled": true,
"config": {
"issuer_url": "https://konghq.okta.com/oauth2/default",
"client_id": "YOUR_CLIENT_ID",
"client_secret": "YOUR_CLIENT_SECRET",
"claim_mappings": {
"name": "name",
"email": "email",
"groups": "groups"
},
"backchannel_logout": {
"supported": true,
"session_supported": true
}
},
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
- breaking
the
configrequest property type changed fromobjectto no type - breaking
the
configresponse's property type changed fromobjectto no type for status - warning
changed the pattern of the request property
config/oneOf[subschema #2: Update SAML Identity Provider Config]/idp_metadata_urlfrom^https?://\S+$to^(https?://\S+)?$
4 more changes in this revision
- breaking