Step 8: Set the sign-on policy as the default

PUT {{apiPath}}/environments/{{destinationEnvID}}/signOnPolicies/{{oidcSignonPolicyID}}

Set the sign-on policy you created as the default for the identity provider in the destination environment. Use a PUT {{apiPath}}/environments/{{destinationEnvID}}/signOnPolicies/{{oidcSignonPolicyID}} request.

  • In the request URL, set {{oidcSignonPolicyID}} to the UUID of the sign-on policy you created in the destination environment in step 6.

  • In the request body, set default to true.

See Update Sign-On Policy for more information.

Request Body

{"name"=>"New_Source_Environment_Factor_{{$timestamp}}", "default"=>true}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring