Retrieve
GET/organizations/{organization_id}/sso-connection
Get SSO connection configuration for organization
Path Parameters
organization_id: string
Organization ID or label identifier
minLength1
maxLength255
Query Parameters
expand: optional array of "permissions"
Fields to expand in the response. Currently supports "permissions" to include the permissions field with the caller's permissions for the resource.
Header Parameters
"X-Client-Request-ID": optional string
formatuuid
Returns
Retrieve
curl https://api.keycard.ai/organizations/$ORGANIZATION_ID/sso-connection{
"id": "id",
"client_id": "client_id",
"client_secret_set": true,
"created_at": "2019-12-27T18:11:19.117Z",
"identifier": "x",
"updated_at": "2019-12-27T18:11:19.117Z",
"permissions": {
"organizations": {
"read": true,
"update": true
},
"users": {
"read": true,
"list": true
}
},
"protocols": {
"oauth2": {
"authorization_endpoint": "https://example.com",
"code_challenge_methods_supported": [
"string"
],
"jwks_uri": "https://example.com",
"registration_endpoint": "https://example.com",
"scopes_supported": [
"string"
],
"token_endpoint": "https://example.com"
},
"openid": {
"userinfo_endpoint": "https://example.com"
}
}
}Returns Examples
{
"id": "id",
"client_id": "client_id",
"client_secret_set": true,
"created_at": "2019-12-27T18:11:19.117Z",
"identifier": "x",
"updated_at": "2019-12-27T18:11:19.117Z",
"permissions": {
"organizations": {
"read": true,
"update": true
},
"users": {
"read": true,
"list": true
}
},
"protocols": {
"oauth2": {
"authorization_endpoint": "https://example.com",
"code_challenge_methods_supported": [
"string"
],
"jwks_uri": "https://example.com",
"registration_endpoint": "https://example.com",
"scopes_supported": [
"string"
],
"token_endpoint": "https://example.com"
},
"openid": {
"userinfo_endpoint": "https://example.com"
}
}
}