- 11 Nov 2024
- 1 Minute to read
- DarkLight
Scenario: Insert Transaction
- Updated on 11 Nov 2024
- 1 Minute to read
- DarkLight
This scenario uses the workflow tree illustrated in Insert transaction workflow tree.
Insert transaction workflow tree
Before you begin
Ensure that you have completed the steps described in Getting started with OneSpan Authentication for ForgeRock.
Walkthrough: Insert transaction
Walkthrough: Insert transaction
Use the following URL to start the process:
https://your_instance_url/openam/XUI/?realm=/&service=OneSpan-XUI-Cloud-Authentication-User-Login-Challenge-Response-Sample-Tree#login
The ForgeRock login dialog is displayed.
Enter your the transaction details.
This workflow uses the OneSpan Sample Attributes Collector node to obtain the required transaction details.
ForgeRock login dialog
If no step-up authentication is configured in Risk Analytics Presentation Service, the outcome will be Accept or Decline, depending on the risk score.
However, because of the rules you defined in the course of the product setup for transaction amounts less than 100, step-up authentication (ChallengePin) is required.
According to the Interactive API Reference > TransactionOutput schema > riskResponseCode attribute, if the challenge type is ChallengePin, the API returns a risk response code of 22.
The OneSpan Risk Analytics Send Transaction node stores the risk response code in the shared state as riskResponseCode, which can later be retrieved with the Scripted Decision node, and which determines the required authentication steps.
Additional considerations
The workflow tree uses the following sample node:
The OneSpan Sample nodes are provided and included in the OneSpan Authentication for ForgeRock package for demonstration purposes only. You should not use these nodes in production environments, but replace them with your own node implementations.