Auth Settings
Update Identity Provider
Updates the configuration of an existing identity provider. This operation allows modifications to be made to an existing identity provider's configuration.
patch/v3/identity-providers/{id}
Request body
Example request
{
"enabled": true,
"login_path": "myapp",
"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"
}
}
}Response
An identity provider configuration. This response represents the configuration of a specific identity provider, which can be either OIDC or SAML.
Example response
{
"id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"type": "oidc",
"enabled": true,
"login_path": "myapp",
"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"
}
},
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}