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 name property is required and must be unique within the environment.

  • The description property is optional, but recommended.

  • The default property is optional, and if not set in the request, is set automatically to false. You can't set default to true when you first create the sign-on policy. In a subsequent step, you'll use PUT {{apiPath}}/environments/{{envID}}/signOnPolicies/{{policyID}} to set default to true.

For more information, see Create Sign On Policy.

Request Body

{"name"=>"Source_Environment_Factor", "description"=>"A new basic sign-on policy."}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring