Step 10: 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.

  • In the request URL, set {{oidcAppDestinationID}} to the application you created in the destination environment in step 8.

  • In the request body, set {{oidcSignonPolicyID}} to the policy you created in step 5. The id for the signOnPolicy property and the priority property are required.

For more information, see Create SOP Assignment.

Request Body

{"priority"=>1, "signOnPolicy"=>{"id"=>"{{oidcSignonPolicyID}}"}}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring