Step 9: Assign the sign-on policy to an application

POST {{apiPath}}/environments/{{envID}}/applications/{{AppWithPPID}}/signOnPolicyAssignments

Use the POST /environments/{{envID}}/applications/{{appID}}/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 and collecting additional user information through a progressive profiling action.

Request Body

{"priority"=>10, "signOnPolicy"=>{"id"=>"{{ProgressiveProfilingPolicyID}}"}}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring