Create identity provider
Visibility: public · internal ( OpenAPI Custom Extension: x-visibility )
Configure a new external identity provider for SSO.
Authorization
bearerAuth Bearer token authentication using OAuth2/OIDC tokens
In: header
Request Body
application/json
Human-readable display name for the identity provider.
1 <= length <= 255Tenant domain associated with the provider. Will be used as login hint for OIDC authentication flows.
Organization identifier. Required when the provider is being created by an operator user to onboard a provider for a specific organization. If not specified, the provider will be onboarded for the current user's organization.
OIDC configuration details for onboarding the provider.
Enable or disable the provider
trueResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.k0rdent.ai/v1/regions/global/iam/providers" \ -H "Content-Type: application/json" \ -d '{ "displayName": "string", "tenantDomain": "string", "oidcConfig": { "discoveryUrl": "https://customerA-idp.com/.well-known/openid-configuration", "clientId": "CLIENT_ID_FROM_CUSTOMER" } }'{
"selfLink": "/v1/regions/global/iam/providers/provider-m5n6o7",
"uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
"id": "provider-m5n6o7",
"displayName": "Customer A OIDC",
"enabled": true,
"tenantDomain": "string",
"oidcConfig": {
"discoveryUrl": "https://customerA-idp.com/.well-known/openid-configuration",
"clientId": "CLIENT_ID_FROM_CUSTOMER",
"clientSecret": "string"
},
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}{
"error": {
"code": 0,
"message": "string",
"details": [
{}
]
}
}{
"error": {
"code": 0,
"message": "string",
"details": [
{}
]
}
}{
"error": {
"code": 0,
"message": "string",
"details": [
{}
]
}
}{
"error": {
"code": 0,
"message": "string",
"details": [
{}
]
}
}{
"error": {
"code": 0,
"message": "string",
"details": [
{}
]
}
}How is this guide?