Associating your sign-on policy with your web app
Depending on the sensitivity of information and processing capabilities of each application, an organization can determine that MFA requirements for some applications are more stringent than for others.
PingOne provides the capability to define multiple MFA sign-on policies. You can configure one application to use a particular sign-on policy and another application to use a different policy.
The authentication flow is configured at the application level through a sign-on policy. If you don’t assign a sign-on policy to your web application, it uses the environment’s default sign-on policy. You can create multiple sign-on policies and associate them with different OpenID Connect applications.
You can also associate multiple sign-on policies with a single application. Policies are applied in the order in which they appear in the list. PingOne evaluates the first policy in the list first. If the requirements of the policy are not met, PingOne moves to the next policy in the list.
-
Console
-
API alternative
Associating your authentication policy with your web app console
Before you begin
Before assigning your authentication policy with a web app, first create the application. Learn more: Creating a web application console.
About this task
For information about how to perform this task from the API, see POST: Step 3: Assign the sign-on policy to an application.
Steps
-
Go to Applications → Applications.
-
Locate your web application and click it to open the details panel.
-
Click the Policies tab.
-
Click the Pencil icon to enter edit mode.
-
In the PingOne Policies list, locate the policy you created in the previous step.
Example:
For example, MFA-only.
-
Select the check box for the appropriate policy.
-
Click Save.
Next steps
Associating your authentication policy with your web app API alternative
About this task
Application developers can use the API operations to associate a sign-on policy with an application.
Steps
-
Use the access token generated through the worker app and the following
POST
operation to assign the new authentication policy to an application:POST https://api.pingone.com/v1/environments/{{envId}}/applications/{{appID}}/signOnPolicyAssignments