After you add PingOne Protect to your environment, integrate PingOne Protect into a user journey.
You’ll need a PingOne account with at least one environment that includes the PingOne Protect service. For more information, see Creating an environment.
There are three ways to integrate your risk policy into a user journey:
- Using the integration with PingFederate
- Building a custom flow with PingOne DaVinci
- Using the PingOne API
Regardless of the integration approach you use, the high-level steps are the same. The steps below use an authentication flow as an example for integration, but you can also use other user journeys, such as registration and authorization:
Integrate into an authentication flow.
The following diagram shows a high-level overview of PingOne Protect integrated in silent mode into an example authentication flow.
- Send transaction feedback.
Configure a risk policy.
The simplest approach is to use the default risk policy. You can also edit the default risk policy.
Add risk evaluation to your authentication flow.
The following diagram shows an example of PingOne Protect integrated into an authentication flow with risk levels affecting the flow.
Using the PingOne Protect Integration Kit with PingFederate
Before proceeding, make sure PingFederate is installed. For help installing PingFederate, see Installing PingFederate.
Deploy the files for the type of integration kit you're using to your PingFederate directory:
The PingOne Protect Integration Kit 1.0 works with PingFederate 11.3 and later. The PingOne Risk Integration Kit will continue to support PingFederate versions 10.2 and later.
- To allow PingFederate to communicate with PingOne, create a connection between PingOne and PingFederate.
- To configure the integration kit, follow the steps in the documentation for the integration type that you selected in step 1.
Building a custom flow with PingOne DaVinci
Add PingOne DaVinci to your PingOne environment. For more information, see Creating an environment.
PingOne DaVinci is the graphic orchestration tool used for designing flows, such as user registration and authentication flows. You can find general information on using PingOne DaVinci here.
You can use the PingOne Protect connector to define different paths in an user journey flow, based on the result of a risk evaluation.
For example, you can use a risk evaluation connector before a multi-factor authentication (MFA) step, and then define different paths based on the risk score calculated:
- Skip the MFA challenge if low risk.
- Use a specific authentication method if user behavior data suggests medium or high risk.
- Block access completely in a high-risk situation, such as when the recommended action is equal to bot mitigation.
For examples of using the PingOne Protect connector in different types of flows, see the following templates in the Flow Library:
- PingOne - Sign On and Adaptive MFA
- PingID - MFA flow + Protect
- PingID - FIDO2 Passwordless + Protect
To use Protect connectors in a flow:
- After you have added DaVinci to your PingOne environment, ensure any risk connectors you add to your flows already have been configured with the correct information for environment ID, client ID, and client secret. However, if you import a flow from a different PingOne environment, you must go to the settings for the Protect connector and update this information to reflect the environment where you're adding the flow.
Add two different Protect connectors to your flow by following the
documentation for the PingOne Protect connector:
Add a Protect connector with the
Create risk evaluationcapability.
The response returns a final risk evaluation result - High, Medium, or Low. The Protect connector with the
Create Risk Evaluationcapability should be added at a point in the flow where you would like to base the next action on the risk score assigned, for example, show an MFA prompt for Medium or High, but automatically grant access if the risk is deemed Low.
Add risk evaluation feedback to the flow by adding a Protect connector
Update risk evaluationcapability.
This step is included after authentication has been completed, and it consists of sending an update with the final state of the transaction, such as SUCCESS or FAIL. The
Update risk evaluationcapability represents the system's ability to learn over time in order to improve results. You should always include an update connector in your flow because this step is essential for improving the accuracy of the machine learning models.Note:
Flows may take users on different paths. Make sure to include a Protect connector with the
Update risk evaluationcapability at the end of each possible path.
- Add a Protect connector with the
If you are having issues with the PingOne Protect Connector, try the following:
- For each connector in the flow, make sure that all of the mandatory inputs have been provided.
- If you are using the
skriskcomponent to include the data provided by the PingOne Signals (Protect) SDK, make sure that you have carried out all of the necessary steps.
- Use the Analytics feature to see where the flow stopped.
- Select the Options icon, and turn on Show Node ID. This will make it easier to identify the source of inputs and outputs.
Using the PingOne API
To integrate using the PingOne API:
- Create a worker application and get an access token, as described in Creating a worker application and getting an access token.
Add risk evaluation to your user flow, as described in the section on risk evaluation in the API
The response returns a final risk evaluation result: High, Medium, or Low.
Add risk evaluation feedback to the flow.
This step is included after authentication has been completed, and it consists of sending an update with the final state of the transaction, such as SUCCESS or FAIL. This step is essential for improving the accuracy of the machine learning models. See PUT UPDATE Risk Evaluation in the API reference.
- To modify the default risk policy, see Risk policies, or to create one of your own, see the documentation for creating a risk policy set with the API.