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 thesignOnPolicy
property and thepriority
property are required.
For more information, see Create SOP Assignment.
Request Body
{"priority"=>1, "signOnPolicy"=>{"id"=>"{{oidcSignonPolicyID}}"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |