Skip to main content
GET
/
organizations
/
{organizationId}
/
ssoProvider
Get SSO provider configuration for organization
curl --request GET \
  --url https://app.dynamicauth.com/api/v0/organizations/{organizationId}/ssoProvider \
  --header 'Authorization: Bearer <token>'
{
  "id": "95b11417-f18f-457f-8804-68e361f9164f",
  "clientId": "<string>",
  "maskedClientSecret": "<string>",
  "organizationId": "95b11417-f18f-457f-8804-68e361f9164f",
  "ssoDomain": "<string>",
  "emailDomain": "<string>",
  "provider": "okta",
  "enforceOnlySSO": true,
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "redirectUrl": "<string>",
  "ssoDomainVerifiedAt": "2023-11-07T05:31:56Z",
  "ssoDomainVerificationChallenge": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationId
string
required

ID of organization

Required string length: 36
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

Response

Successfully retrieved SSO provider configuration

id
string
required
Required string length: 36
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

clientId
string
required

Client ID for the SSO provider

maskedClientSecret
string
required

Masked client secret for the SSO provider

organizationId
string
required
Required string length: 36
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

ssoDomain
string
required

SSO domain for the provider

emailDomain
string
required

Email domain for the company emails to be used for SSO

provider
enum<string>
required
Available options:
okta
enforceOnlySSO
boolean
required

Whether SSO is enforced for this domain

createdAt
string<date-time>
required
updatedAt
string<date-time>
required
redirectUrl
string

Redirect URL for the SSO provider

ssoDomainVerifiedAt
string<date-time>

Timestamp when the SSO domain was verified by Dynamic API. This will be present when the SSO domain ownership has been verified by setting a TXT record in DNS.

ssoDomainVerificationChallenge
string

TXT record challenge string for the SSO domain verification. This will be provided when the SSO provider domain ownership needs to be verified by setting a TXT record in DNS.