Portal Auth Settings
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.
patch/v3/portals/{portalId}/authentication-settings
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"
}
}
}