Step 8: Create a sign-on policy for the new identity provider
POST {{apiPath}}/environments/{{envID}}/signOnPolicies
If a sign-on policy doesn't already exist, create a sign-on policy for the new IdP in the destination environment. Use a POST {{apiPath}}/environments/{{destinationEnvID}}/signOnPolicies request. Copy and save the policy ID. You'll use it in the next step.
- The - nameproperty is required and must be unique within the environment.
- The - descriptionproperty is optional, but recommended.
- The - defaultproperty is optional, and if not set in the request, is set automatically to- false. You can't set- defaultto true when you first create the sign-on policy. In a subsequent step, you'll use- PUT {{apiPath}}/environments/{{envID}}/signOnPolicies/{{policyID}}to set- defaultto true.
For more information, see Create Sign On Policy.
Request Body
{"name"=>"Source_Environment_Factor", "description"=>"A new basic sign-on policy."}
HEADERS
| Key | Datatype | Required | Description | 
|---|---|---|---|
| Authorization | string | ||
| Content-Type | string |