Step 6: Assign the sign-on policy to an application
POST {{apiPath}}/environments/{{envID}}/applications/{{useCaseWorkerAppID}}/signOnPolicyAssignments
Use the POST /environments/{{envID}}/applications/{{applicationID}}/signOnPolicyAssignments
operation to associate the sign-on-policy with the application specified by its ID in the request URL.
The body of the request specifies the sign-on-policy ID for the policy that you want the application to use for authenticating users.
Request Body
{"priority"=>1, "signOnPolicy"=>{"id"=>"{{InteractiveWorkerPolicyID}}"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |