Step 11: Assign the sign-on policy to the destination OIDC application
POST {{apiPath}}/environments/{{destinationEnvID}}/applications/{{oidcAppDestinationID}}/signOnPolicyAssignments
Associate the sign-on-policy with the application you created in the destination environment using a POST {{apiPath}}/environments/{{destinationEnvID}}/applications/{{oidcAppDestinationID}}/signOnPolicyAssignments request. The id for the signOnPolicy property and the priority property are required in the request body.
In the request URL, set
{{oidcAppDestinationID}}to the application you created in the destination environment in step 9.In the request body, set
{{oidcSignonPolicyID}}to the policy you created in step 6.
For more information, see Create SOP Assignment.
Request Body
{"priority"=>1, "signOnPolicy"=>{"id"=>"{{oidcSignonPolicyID}}"}}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Authorization | string | ||
Content-Type | string |