Step 6: Create a sign-on policy for the OIDC IdP

POST {{apiPath}}/environments/{{destinationEnvID}}/signOnPolicies

Create a sign-on policy for the new identity provider in the destination environment using a POST {{apiPath}}/environments/{{destinationEnvID}}/signOnPolicies request.

  • In the request body, the name property is required and must be unique within the environment.

  • The description property is optional, but recommended.

The response returns a policy ID that you'll use in the next step.

See Create Sign-On Policy for more information.

Request Body

{"name"=>"New_Source_Environment_Factor_{{$timestamp}}", "description"=>"Testing an OIDC application connection."}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring