Step 5: 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 - nameproperty is required and must be unique within the environment.
- The - descriptionproperty is optional, but recommended.
The response returns a policy ID that you'll use in the next step to create a sign-on policy action.
See Create Sign-On Policy for more information.
Request Body
{"name"=>"New_Source_Environment_Factor_{{$timestamp}}", "description"=>"Testing an OIDC application connection."}
HEADERS
| Key | Datatype | Required | Description | 
|---|---|---|---|
| Authorization | string | ||
| Content-Type | string |