Update Auth Settings
Changed onUpdates the developer authentication configuration for a portal. Developers can be allowed to login using basic auth (email & password) or use Single-Sign-On through an Identity Provider. Developers can be automatically assigned to teams by mapping claims from their IdP account.
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v3/portals/{portalId}/authentication-settings
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Request body
Example request
{
"basic_auth_enabled": true,
"oidc_auth_enabled": true,
"oidc_team_mapping_enabled": true,
"konnect_mapping_enabled": false,
"oidc_issuer": "https://identity.example.com/v2",
"oidc_client_id": "x7id0o42lklas0blidl2",
"oidc_scopes": [
"email",
"openid",
"profile"
],
"oidc_claim_mappings": {
"name": "name",
"email": "email",
"groups": "custom-group-claim"
}
}Response
Details about a portal's authentication settings.
Example response
{
"basic_auth_enabled": true,
"oidc_auth_enabled": true,
"oidc_team_mapping_enabled": true,
"konnect_mapping_enabled": false,
"oidc_config": {
"issuer": "https://identity.example.com/v2",
"client_id": "x7id0o42lklas0blidl2",
"scopes": [
"email",
"openid",
"profile"
],
"claim_mappings": {
"name": "name",
"email": "email",
"groups": "custom-group-claim"
}
}
}Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
the response optional property
became read-only for the status
- info
- breaking
the response property
became nullable for the status - info
the request property
became nullable - info
request property
deprecated - info
request property
deprecated - info
request property
deprecated - info
request property
deprecated - info
request property
deprecated - info
request property
deprecated - info
request property
deprecated - info
request property
deprecated - info
response property
oidc_auth_enableddeprecated - info
response property
oidc_configdeprecated - info
response property
oidc_team_mapping_enableddeprecated - info
response property
saml_auth_enableddeprecated
- breaking