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

basic_auth_enabledboolean

The organization has basic auth enabled.

oidc_auth_enabledboolean

Deprecated. Use the Identity Provider API instead.

saml_auth_enabledboolean

Deprecated. Use the Identity Provider API instead.

oidc_team_mapping_enabledboolean

IdP groups determine the Portal Teams a developer has. Replaced by idp_mapping_enabled.

konnect_mapping_enabledboolean

Whether a Konnect Identity Admin assigns teams to a developer.

idp_mapping_enabledboolean

Whether IdP groups determine the Konnect Portal teams a developer has.

oidc_issuerstring

Deprecated. Use the Identity Provider API instead.

oidc_client_idstring

Deprecated. Use the Identity Provider API instead.

oidc_client_secretstring

Deprecated. Use the Identity Provider API instead.

oidc_scopesstring[]

Deprecated. Use the Identity Provider API instead.

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.

basic_auth_enabledboolean required

The portal has basic auth enabled or disabled.

oidc_auth_enabledboolean required

The portal has OIDC enabled or disabled.

saml_auth_enabledboolean

A Konnect Identity Admin assigns teams to a developer.

oidc_team_mapping_enabledboolean required

IdP groups determine the Portal Teams a developer has. Replaced by idp_mapping_enabled.

idp_mapping_enabledboolean

Whether IdP groups determine the Konnect Portal teams a developer has.

konnect_mapping_enabledboolean required

A Konnect Identity Admin assigns teams to a developer.

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 8 of the 75 revisions of this API.20153

    • the response optional property became read-only for the status

      response-optional-property-became-read-only

    • request property deprecated

      request-property-deprecated

    • request property deprecated

      request-property-deprecated

    • request property deprecated

      request-property-deprecated

    • request property deprecated

      request-property-deprecated

    • request property deprecated

      request-property-deprecated

    • request property deprecated

      request-property-deprecated

    • request property deprecated

      request-property-deprecated

    • request property deprecated

      request-property-deprecated

    • response property oidc_auth_enabled deprecated

      response-property-deprecated

    • response property oidc_config deprecated

      response-property-deprecated

    • response property oidc_team_mapping_enabled deprecated

      response-property-deprecated

    • response property saml_auth_enabled deprecated

      response-property-deprecated

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the request property became not nullable

      request-property-became-not-nullable

    • the request property became not nullable

      request-property-became-not-nullable

    • the request property became not nullable

      request-property-became-not-nullable

    • the request property became not nullable

      request-property-became-not-nullable

    • the request property became not nullable

      request-property-became-not-nullable

    • the request property became not nullable

      request-property-became-not-nullable

    • the request property became not nullable

      request-property-became-not-nullable

    • the request property became not nullable

      request-property-became-not-nullable

    • the request property became not nullable

      request-property-became-not-nullable

    • added the new type enum value to the /////// response property for the response status

      response-property-enum-value-added

  • 3c0154b2053a1119See the full diff
    • the response property /////// became nullable for the status

      response-property-became-nullable

    • the response property /////// became nullable for the status

      response-property-became-nullable

    • the response property /////// became nullable for the status

      response-property-became-nullable

    • the response property /////// became nullable for the status

      response-property-became-nullable

    • the response property /////// became nullable for the status

      response-property-became-nullable

    • the response property became nullable for the status

      response-property-became-nullable

    • the response property became nullable for the status

      response-property-became-nullable

    • the response property became nullable for the status

      response-property-became-nullable

    • the response property became nullable for the status

      response-property-became-nullable

    • the response property became nullable for the status

      response-property-became-nullable

    • the response property became nullable for the status

      response-property-became-nullable

    • the request property became nullable

      request-property-became-nullable

    • the request property became nullable

      request-property-became-nullable

    • the request property became nullable

      request-property-became-nullable

    • the request property became nullable

      request-property-became-nullable

    • the request property became nullable

      request-property-became-nullable

    • the request property became nullable

      request-property-became-nullable

    • the request property became nullable

      request-property-became-nullable

    • the request property became nullable

      request-property-became-nullable

    • the request property became nullable

      request-property-became-nullable

    • the request property default value openid was added

      request-property-default-value-added

    • the request property default value email was added

      request-property-default-value-added

    • the request property default value groups was added

      request-property-default-value-added

    • the request property default value name was added

      request-property-default-value-added

    • the request property default value email openid profile was added

      request-property-default-value-added

    • the response's property default value openid was added for the status

      response-property-default-value-added

    • the response's property default value email was added for the status

      response-property-default-value-added

    • the response's property default value groups was added for the status

      response-property-default-value-added

    • the response's property default value name was added for the status

      response-property-default-value-added

    • the response's property default value email openid profile was added for the status

      response-property-default-value-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the request property default value openid was removed

      request-property-default-value-removed

    • the request property default value email was removed

      request-property-default-value-removed

    • the request property default value groups was removed

      request-property-default-value-removed

    • the request property default value name was removed

      request-property-default-value-removed

    • the request property default value email openid profile was removed

      request-property-default-value-removed

    • the response's property default value openid was removed for the status

      response-property-default-value-removed

    • the response's property default value email was removed for the status

      response-property-default-value-removed

    • the response's property default value groups was removed for the status

      response-property-default-value-removed

    • the response's property default value name was removed for the status

      response-property-default-value-removed

    • the response's property default value email openid profile was removed for the status

      response-property-default-value-removed

    This revision also has 15 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the request property default value openid was added

      request-property-default-value-added

    • the request property default value email was added

      request-property-default-value-added

    • the request property default value groups was added

      request-property-default-value-added

    • the request property default value name was added

      request-property-default-value-added

    • the request property default value email openid profile was added

      request-property-default-value-added

    • the response's property default value openid was added for the status

      response-property-default-value-added

    • the response's property default value email was added for the status

      response-property-default-value-added

    • the response's property default value groups was added for the status

      response-property-default-value-added

    • the response's property default value name was added for the status

      response-property-default-value-added

    • the response's property default value email openid profile was added for the status

      response-property-default-value-added

    • endpoint added

      endpoint-added

    This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog