List the SSO connections belonging to the organization the token was issued for.
GraphQL
| query SsoConnections { | |
| ssoConnections { | |
| createdAt | |
| id | |
| lastSession { | |
| createdAt | |
| id | |
| state | |
| } | |
| latestExpiredCertificate { | |
| id | |
| lastExpiryEventSentAt | |
| notAfter | |
| notBefore | |
| value | |
| } | |
| latestExpiringCertificate { | |
| id | |
| lastExpiryEventSentAt | |
| notAfter | |
| notBefore | |
| value | |
| } | |
| name | |
| organizationId | |
| providerTag | |
| setupComplete | |
| state | |
| type | |
| updatedAt | |
| } | |
| } |
| { | |
| "data": { | |
| "ssoConnections": [ | |
| { | |
| "createdAt": "2024-01-01T00:00:00.000Z", | |
| "id": "id_01EHWNCE74X7JSDV0X3SZ3KJNY", | |
| "lastSession": { | |
| "createdAt": "2024-01-01T00:00:00.000Z", | |
| "id": "id_01EHWNCE74X7JSDV0X3SZ3KJNY", | |
| "state": "Authorized" | |
| }, | |
| "latestExpiredCertificate": null, | |
| "latestExpiringCertificate": { | |
| "id": "id_01EHWNCE74X7JSDV0X3SZ3KJNY", | |
| "lastExpiryEventSentAt": "2024-01-01T00:00:00.000Z", | |
| "notAfter": "2024-01-01T00:00:00.000Z", | |
| "notBefore": "2024-01-01T00:00:00.000Z", | |
| "value": "value_example" | |
| }, | |
| "name": "name_example", | |
| "organizationId": "organizationId_01EHWNCE74X7JSDV0X3SZ3KJNY", | |
| "providerTag": "Saml", | |
| "setupComplete": true, | |
| "state": "Active", | |
| "type": "ADFSSAML", | |
| "updatedAt": "2024-01-01T00:00:00.000Z" | |
| } | |
| ] | |
| } | |
| } |
ssoConnections
Returns [Connection!]!
createdAt: DateTime!
id: ID!
updatedAt: DateTime!
Returns an SSO connection by ID, including its IdP setup status, provided it belongs to the token’s organization.
GraphQL
| query SsoConnection($id: ID!) { | |
| ssoConnection(id: $id) { | |
| createdAt | |
| id | |
| lastSession { | |
| createdAt | |
| id | |
| state | |
| } | |
| latestExpiredCertificate { | |
| id | |
| lastExpiryEventSentAt | |
| notAfter | |
| notBefore | |
| value | |
| } | |
| latestExpiringCertificate { | |
| id | |
| lastExpiryEventSentAt | |
| notAfter | |
| notBefore | |
| value | |
| } | |
| name | |
| organizationId | |
| providerTag | |
| setupComplete | |
| state | |
| type | |
| updatedAt | |
| } | |
| } |
| { | |
| "data": { | |
| "ssoConnection": { | |
| "createdAt": "2024-01-01T00:00:00.000Z", | |
| "id": "id_01EHWNCE74X7JSDV0X3SZ3KJNY", | |
| "lastSession": { | |
| "createdAt": "2024-01-01T00:00:00.000Z", | |
| "id": "id_01EHWNCE74X7JSDV0X3SZ3KJNY", | |
| "state": "Authorized" | |
| }, | |
| "latestExpiredCertificate": null, | |
| "latestExpiringCertificate": { | |
| "id": "id_01EHWNCE74X7JSDV0X3SZ3KJNY", | |
| "lastExpiryEventSentAt": "2024-01-01T00:00:00.000Z", | |
| "notAfter": "2024-01-01T00:00:00.000Z", | |
| "notBefore": "2024-01-01T00:00:00.000Z", | |
| "value": "value_example" | |
| }, | |
| "name": "name_example", | |
| "organizationId": "organizationId_01EHWNCE74X7JSDV0X3SZ3KJNY", | |
| "providerTag": "Saml", | |
| "setupComplete": true, | |
| "state": "Active", | |
| "type": "ADFSSAML", | |
| "updatedAt": "2024-01-01T00:00:00.000Z" | |
| } | |
| } | |
| } |
ssoConnection
Parameters
id: ID!
Returns Connection!
createdAt: DateTime!
id: ID!
updatedAt: DateTime!
Create an SSO connection for the token’s organization.
GraphQL
| mutation CreateSsoConnection($input: CreateSsoConnectionInput!) { | |
| createSsoConnection(input: $input) { | |
| createdAt | |
| id | |
| lastSession { | |
| createdAt | |
| id | |
| state | |
| } | |
| latestExpiredCertificate { | |
| id | |
| lastExpiryEventSentAt | |
| notAfter | |
| notBefore | |
| value | |
| } | |
| latestExpiringCertificate { | |
| id | |
| lastExpiryEventSentAt | |
| notAfter | |
| notBefore | |
| value | |
| } | |
| name | |
| organizationId | |
| providerTag | |
| setupComplete | |
| state | |
| type | |
| updatedAt | |
| } | |
| } |
| { | |
| "data": { | |
| "createSsoConnection": { | |
| "createdAt": "2024-01-01T00:00:00.000Z", | |
| "id": "id_01EHWNCE74X7JSDV0X3SZ3KJNY", | |
| "lastSession": null, | |
| "latestExpiredCertificate": null, | |
| "latestExpiringCertificate": null, | |
| "name": "name_example", | |
| "organizationId": "organizationId_01EHWNCE74X7JSDV0X3SZ3KJNY", | |
| "providerTag": "Saml", | |
| "setupComplete": false, | |
| "state": "Inactive", | |
| "type": "ADFSSAML", | |
| "updatedAt": "2024-01-01T00:00:00.000Z" | |
| } | |
| } | |
| } |
createSsoConnection
Parameters CreateSsoConnectionInput!
Returns Connection!
createdAt: DateTime!
id: ID!
updatedAt: DateTime!
Update an SSO connection belonging to the token’s organization.
GraphQL
| mutation UpdateSsoConnection($input: UpdateSsoConnectionInput!) { | |
| updateSsoConnection(input: $input) { | |
| createdAt | |
| id | |
| lastSession { | |
| createdAt | |
| id | |
| state | |
| } | |
| latestExpiredCertificate { | |
| id | |
| lastExpiryEventSentAt | |
| notAfter | |
| notBefore | |
| value | |
| } | |
| latestExpiringCertificate { | |
| id | |
| lastExpiryEventSentAt | |
| notAfter | |
| notBefore | |
| value | |
| } | |
| name | |
| organizationId | |
| providerTag | |
| setupComplete | |
| state | |
| type | |
| updatedAt | |
| } | |
| } |
| { | |
| "data": { | |
| "updateSsoConnection": { | |
| "createdAt": "2024-01-01T00:00:00.000Z", | |
| "id": "id_01EHWNCE74X7JSDV0X3SZ3KJNY", | |
| "lastSession": { | |
| "createdAt": "2024-01-01T00:00:00.000Z", | |
| "id": "id_01EHWNCE74X7JSDV0X3SZ3KJNY", | |
| "state": "Authorized" | |
| }, | |
| "latestExpiredCertificate": null, | |
| "latestExpiringCertificate": { | |
| "id": "id_01EHWNCE74X7JSDV0X3SZ3KJNY", | |
| "lastExpiryEventSentAt": "2024-01-01T00:00:00.000Z", | |
| "notAfter": "2024-01-01T00:00:00.000Z", | |
| "notBefore": "2024-01-01T00:00:00.000Z", | |
| "value": "value_example" | |
| }, | |
| "name": "name_example", | |
| "organizationId": "organizationId_01EHWNCE74X7JSDV0X3SZ3KJNY", | |
| "providerTag": "Saml", | |
| "setupComplete": true, | |
| "state": "Active", | |
| "type": "ADFSSAML", | |
| "updatedAt": "2024-01-01T00:00:00.000Z" | |
| } | |
| } | |
| } |
updateSsoConnection
Parameters UpdateSsoConnectionInput!
id: ID!
Returns Connection!
createdAt: DateTime!
id: ID!
updatedAt: DateTime!
Delete an SSO connection belonging to the token’s organization.
GraphQL
| mutation DeleteSsoConnection($id: ID!) { | |
| deleteSsoConnection(id: $id) | |
| } |
| { | |
| "data": { | |
| "deleteSsoConnection": "deleteSsoConnection_01EHWNCE74X7JSDV0X3SZ3KJNY" | |
| } | |
| } |