curl --request PUT \
--url https://app.dynamicauth.com/api/v0/organizations/{organizationId}/ssoProvider/{ssoProviderId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"clientId": "<string>",
"clientSecret": "<string>",
"ssoDomain": "<string>",
"emailDomain": "<string>",
"provider": "okta",
"enforceOnlySSO": true
}
'{
"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>"
}curl --request PUT \
--url https://app.dynamicauth.com/api/v0/organizations/{organizationId}/ssoProvider/{ssoProviderId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"clientId": "<string>",
"clientSecret": "<string>",
"ssoDomain": "<string>",
"emailDomain": "<string>",
"provider": "okta",
"enforceOnlySSO": true
}
'{
"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>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of organization
36"95b11417-f18f-457f-8804-68e361f9164f"
The SSO provider ID
Client ID for the SSO provider
255Client secret for the SSO provider
255SSO domain for the provider
255Email domain for the company emails to be used for SSO
255okta when set to true it would enforce sso auth to the domain
Successfully updated SSO provider configuration
36"95b11417-f18f-457f-8804-68e361f9164f"
Client ID for the SSO provider
Masked client secret for the SSO provider
36"95b11417-f18f-457f-8804-68e361f9164f"
SSO domain for the provider
Email domain for the company emails to be used for SSO
okta Whether SSO is enforced for this domain
Redirect URL for the SSO provider
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.
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.
Was this page helpful?