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 tofalse
. You can't setdefault
to true when you first create the sign-on policy. In a subsequent step, you'll usePUT {{apiPath}}/environments/{{envID}}/signOnPolicies/{{policyID}}
to setdefault
to 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 |