Single Sign-On API
The following APIs provide programmatic support for managing Single Sign-On.
Endpoint Index
| Action | Endpoint |
|---|---|
| Add a Client | POST /auth/clients |
| Get a Client | GET /auth/clients/{clientUuid} |
| Regenerate the Client Secret | PUT /auth/clients/{clientUuid}/regenerateSecret |
| Remove a Client | DELETE /auth/clients/{clientUuid} |
| Get Roles Defined in the Tenant | GET /auth/roles |
| Get a List of Tenants | GET /auth/tenants |
Client API
Add a Client¶
POST /auth/clientsRequest:
| Name | Position | Type | Required |
|---|---|---|---|
| clientModelIn | body | SsoClientResponse | required |
Response:
SsoClientResponseSsoClientResponse¶
requiredclientId stringrole stringoptionalclientSecret stringclientUuid stringnamespace string
Get a Client¶
GET /auth/clients/{clientUuid}Request:
| Name | Position | Type | Required |
|---|---|---|---|
| clientUuid | path | string | required |
Response:
SsoClientResponseRegenerate the Client Secret¶
PUT /auth/clients/{clientUuid}/regenerateSecretRequest:
| Name | Position | Type | Required |
|---|---|---|---|
| clientUuid | path | string | required |
Response:
stringRemove a Client¶
DELETE /auth/clients/{clientUuid}Request:
| Name | Position | Type | Required |
|---|---|---|---|
| clientUuid | path | string | required |
Response:
voidRoles API
Get Roles Defined in the Tenant¶
GET /auth/rolesResponse:
[SsoRoleModel]SsoRoleModel¶
requiredrole stringoptionalaccountType string account.internal | account.tenant.employee | account.tenant.read.only.user | account.tenant.claims.only.user | bootstrap | account.useRolesaccountTypeDisplayName stringnamespace stringnamespaceRoleType string | namespace.owner | namespace.usernamespaceRoleTypeDisplayName stringtenantHostname string
Tenants API
Get a List of Tenants¶
GET /auth/tenantsResponse:
[SsoTenantResponse]SsoTenantResponse¶
requiredlocator stringname stringhostname stringtimeCreatedInMillisSinceEpoch integeroptionaluseRolesAndPermissions boolean