Update Auth Settings
Updates 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 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
Changed in 4 of the 30 revisions of this API.8130
- ○
added the optional property
oidc_claim_mappingsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
oidc_client_idto the response with the200statusresponse-optional-property-added
- ○
added the optional property
oidc_issuerto the response with the200statusresponse-optional-property-added
- ○
added the optional property
oidc_scopesto the response with the200statusresponse-optional-property-added
- ○
the response optional property
oidc_configbecame read-only for the status200response-optional-property-became-read-only
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
the response property
oidc_configbecame nullable for the status200response-property-became-nullable
- ○
the request property
oidc_claim_mappingsbecame nullablerequest-property-became-nullable
- ○
request property
oidc_auth_enableddeprecatedrequest-property-deprecated
- ○
request property
oidc_claim_mappingsdeprecatedrequest-property-deprecated
- ○
request property
oidc_client_iddeprecatedrequest-property-deprecated
- ○
request property
oidc_client_secretdeprecatedrequest-property-deprecated
- ○
request property
oidc_issuerdeprecatedrequest-property-deprecated
- ○
request property
oidc_scopesdeprecatedrequest-property-deprecated
- ○
request property
oidc_team_mapping_enableddeprecatedrequest-property-deprecated
- ○
request property
saml_auth_enableddeprecatedrequest-property-deprecated
- ○
response property
oidc_auth_enableddeprecatedresponse-property-deprecated
- ○
response property
oidc_configdeprecatedresponse-property-deprecated
- ○
response property
oidc_team_mapping_enableddeprecatedresponse-property-deprecated
- ○
response property
saml_auth_enableddeprecatedresponse-property-deprecated
This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
added the new
typeenum value to theallOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterStandard]/ruleresponse property for the response status400response-property-enum-value-added
This revision also has 57 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ▲
the response property
allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterChoiceItem]/sourcebecame nullable for the status400response-property-became-nullable
- ▲
the response property
allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterDependentItem]/sourcebecame nullable for the status400response-property-became-nullable
- ▲
the response property
allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterMaximumLength]/sourcebecame nullable for the status400response-property-became-nullable
- ▲
the response property
allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterMinimumLength]/sourcebecame nullable for the status400response-property-became-nullable
- ▲
the response property
allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterStandard]/sourcebecame nullable for the status400response-property-became-nullable
- ▲
the response property
idp_mapping_enabledbecame nullable for the status200response-property-became-nullable
- ▲
the response property
saml_auth_enabledbecame nullable for the status200response-property-became-nullable
- ○
the request property
oidc_client_idbecame nullablerequest-property-became-nullable
- ○
the request property
oidc_client_secretbecame nullablerequest-property-became-nullable
- ○
the request property
oidc_issuerbecame nullablerequest-property-became-nullable
- ○
the request property
oidc_scopesbecame nullablerequest-property-became-nullable
- ○
the
emailrequest property default valueemailwas addedrequest-property-default-value-added
- ○
the
groupsrequest property default valuegroupswas addedrequest-property-default-value-added
- ○
the
namerequest property default valuenamewas addedrequest-property-default-value-added
- ○
the
response's property default valueopenidwas added for the status200response-property-default-value-added
- ○
the
emailresponse's property default valueemailwas added for the status200response-property-default-value-added
- ○
the
groupsresponse's property default valuegroupswas added for the status200response-property-default-value-added
- ○
the
nameresponse's property default valuenamewas added for the status200response-property-default-value-added
- ○
the
scopesresponse's property default valueemailopenidprofilewas added for the status200response-property-default-value-added
- ▲