Create Identity Provider
Changed onCreates a new identity provider. This operation allows the creation of a new identity provider for authentication purposes.
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Request body
The identity provider that contains configuration data for creating an authentication integration.
Specifies the type of identity provider.
Indicates whether the identity provider is enabled. Only one identity provider can be active at a time, such as SAML or OIDC.
The path used for initiating login requests with the identity provider.
Example request
{
"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"
}
}
}Response
An identity provider configuration. This response represents the configuration of a specific identity provider, which can be either OIDC or SAML.
The identity provider that contains configuration data for authentication integration.
Contains a unique identifier used for this resource.
Specifies the type of identity provider.
Indicates whether the identity provider is enabled. Only one identity provider can be active at a time, such as SAML or OIDC.
The path used for initiating login requests with the identity provider.
An ISO-8601 timestamp representation of entity creation date.
An ISO-8601 timestamp representation of entity update date.
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"
}Changes
- breaking
added to the
invalid_parameters/itemsresponse propertyoneOflist for the response status - warning
added the new
key_invalidenum value to theinvalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/ruleresponse property for the response status - warning
added the new
uniqueenum value to theinvalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/ruleresponse property for the response status
- breaking