Step 9: 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/{{appID}}/signOnPolicyAssignments request.

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

  • In the request body, set oidcSignonPolicyID to the policy that you created in step 5.

For more information, see Create SOP Assignment.

Request Body

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

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring