Retrieve
organizations.sso_connection.retrieve(strorganization_id, SSOConnectionRetrieveParams**kwargs) -> SSOConnection
GET/organizations/{organization_id}/sso-connection
Get SSO connection configuration for organization
Parameters
organization_id: str
Organization ID or label identifier
minLength1
maxLength255
expand: Optional[List[Literal["permissions"]]]
Fields to expand in the response. Currently supports "permissions" to include the permissions field with the caller's permissions for the resource.
x_client_request_id: Optional[str]
formatuuid
Returns
Retrieve
from keycardai_api import KeycardAPI
client = KeycardAPI()
sso_connection = client.organizations.sso_connection.retrieve(
organization_id="x",
)
print(sso_connection.id){
"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"
}
}
}