Configuring flows in DaVinci
After you configure PingOne and test the solution using the wizard, perform additional configuration in DaVinci to enable all features and make the flows available to end users.
Steps
-
Enter or verify the values for each company variable that’s used in the PingOne for Customers Passwordless solution.
These variables determine whether some processes and subflows are included or excluded.
If you plan to invoke the flow using the widget, you can pass in parameter values that override some of these variables. These parameters are described later in this procedure.
-
In DaVinci, click the Variables tab.
-
Locate a variable and click the Pencil icon.
-
In the Value field, verify that the value is correct, or enter a new value for the variable.
-
Click Update.
-
Repeat steps b-d for each remaining variable.
-
Company variables
Variable | Description |
---|---|
|
The maximum allowed session length for a user in the flow. The default value is 5 minutes. |
|
A boolean that controls whether Apple is enabled as a social sign-on option. The default value is |
|
A boolean that controls whether Facebook is enabled as a social sign-on option. The default value is |
|
A boolean that controls whether Google is enabled as a social sign-on option. The default value is |
|
A boolean that controls whether all end users must use passwordless authentication. The default value is |
|
A boolean that controls whether magic links are enabled for your end users. The default value is |
|
The URL for the version of your company logo to display in flows. The default value is |
|
The CSS style to use for your company logo. The default value is |
|
The name of your company as it should be displayed in user-facing text. The default value is |
|
A boolean that controls whether agreement is enabled in your environment. The default value is |
|
The ID of the agreement to present to users if agreement is enabled. This value was copied in the Configuring PingOne procedure. There is no default value. |
|
The maximum number of times a user can attempt to recover an account. The default value is |
|
The maximum number of times a user can attempt to verify their email address. The default value is |
|
A boolean that controls whether one-time passcode using SMS is enabled in your environment. The default value is |
|
A boolean that controls whether one-time passcode using email is enabled in your environment. The default value is |
|
A boolean that controls whether FIDO passkey is enabled in your environment. The default value is |
|
A boolean that controls whether account recovery is enabled in your environment. The default value is |
-
Verify the configuration of the following connectors in your environment.
Connector Description Connector documentation PingOne
Enables DaVinci to view and update PingOne user information.
PingOne MFA
Enables DaVinci to use the PingOne MFA service for multi-factor authentication.
PingOne Notifications
Enables DaVinci flows to send users general communications via SMS, email, and voice message with PingOne’s notifications feature.
-
On the Connectors tab, find the connector that you want to verify and click … → Edit..
-
Verify that the Environment ID and Client ID fields match your PingOne values.
-
If you have made any changes to the values, click Apply.
-
Repeat the previous steps for each remaining connector.
-
-
Configure the
skrisk
component to enable PingOne Protect.-
Click Flows.
-
Select the CIAM-Passwordless-Protect-Account-Registration-Subflow and click … → Edit.
-
Click the NOP UI Page node.
-
Click the
skrisk
component. -
In the Environment ID, enter your PingOne Protect environment ID.
-
In the Collect Behavioral Data list, select True.
-
In the Risk Property Name field, enter the risk property name for your PingOne Protect environment.
-
Select the CIAM-Passwordless-Protect-Account-Recovery-Subflow and click … → Edit.
-
Click the NOP UI Page node.
-
Click the
skrisk
component. -
In the Environment ID, enter your PingOne Protect environment ID.
-
In the Collect Behavioral Data list, select True.
-
In the Risk Property Name field, enter the risk property name for your PingOne Protect environment.
-
Select the CIAM-Passwordless-Protect-Device-Authentication-Subflow and click … → Edit.
-
Click the Get Origin node.
-
Click the
skrisk
component. -
In the Environment ID, enter your PingOne Protect environment ID.
-
In the Collect Behavioral Data list, select True.
-
In the Risk Property Name field, enter the risk property name for your PingOne Protect environment.
-
-
Configure the PingOne Authentication node.
-
Click Flows.
-
Select the CIAM-Passwordless-Protect-Registration-Authentication-Account-Recovery-Main Flow and click … → Edit.
-
In the Return Success section, click the PingOne Authentication node.
-
Verify that the PingOne Application list is set to Use Application ID.
-
Verify that your Application ID is present in the Application ID field.
-
Click Apply.
-
Click Save.
-
-
If you want to use social sign-on, update the
skIdp
component in the CIAM-Passwordless-Protect-Registration-Authentication-Account-Recovery-Main Flow flow to use your PingOne identity provider (IdP).-
Click Flows.
-
Select the CIAM-Passwordless-Protect-Registration-Authentication-Account-Recovery-Main Flow flow and click … → Edit.
-
Click the Password Sign On Page node.
-
Click the
skIdp
component corresponding to a social IdP option you want to provide.
The section of the node contents that contains these components looks like this:
+
{{#if googleEnabled}} {{skIDP}} {{/if}} {{#if facebookEnabled}} {{skIDP}} {{/if}} {{#if appleEnabled}} {{skIDP}} {{/if}}
-
In the Identity Provider Connector list, select PingOne Authentication.
-
In the PingOne External Identity Provider list, select an external IdP.
-
Select Link with PingOne User.
-
In the PingOne Population list, select Default.
-
Click Save.
-
Click Apply.
-
Repeat steps d-j for each other social IdP option you want to use.
-
Click the Passwordless Sign On Page node and repeat steps d-k.
-
-
If you want to use an agreement or ToS in your environment, verify or add the agreement ID.
-
Click Flows.
-
Select the CIAM-Passwordless-Protect-Registration-Authentication-Account-Recovery-Main Flow flow and click … → Edit.
-
Click the Set Flow Constants node.
-
In the Variable Value field, enter the Agreement ID value you copied in the Configuring PingOne procedure if it is not present.
If your trial environment has only one agreement, this value is automatically populated. -
Click Apply.
-
-
If you want to launch the solution using the widget, add your company name.
-
Click Flows.
-
Select the CIAM-Passwordless-Protect-Registration-Authentication-Account-Recovery-Main Flow flow and click … → Edit.
-
Click the Set Industry Variables node.
-
In the Code section, update the text to include your company name. For example:
const flowCompanyGreeting = (flowMethod === 'WIDGET' ) ? '<p class="text-muted text-center mb-5">Welcome to Company Name</p>' :
<p class="text-muted text-center">Welcome to ${ciam_companyName}</p>
; -
Click Apply.
-
-
Verify that the PingOne flow setting is correct for your environment.
Choose from:
-
If you want to launch the PingOne for Customers Passwordless solution using a redirect, the flow must be configured as a PingOne flow.
-
If you want to launch the PingOne for Customers Passwordless solution using the widget, the flow must not be configured as a PingOne flow.
-
Click Flows.
-
Click the CIAM-Passwordless-Protect-Registration-Authentication-Account-Recovery-Main Flow flow.
-
Click More Options (⋮) → Flow Settings.
-
If you plan to launch the flow through a redirect, click the PingOne Flow toggle.
-
If you made changes to the flow settings, click Save,close the flow settings pane, and clickDeploy.
-
If you plan to use the profile management flows, repeat steps a-e for the OOTB - Device Management - Main Flow, OOTB - Basic Profile Management, and OOTB - Password Reset - Main Flow flows.
-
-
-
Configure a DaVinci application with a flow policy that invokes the CIAM-Passwordless-Protect-Registration-Authentication-Account-Recovery-Main Flow flow. For more information, see Creating an application.
-
On the Applications tab, click Add Application.
-
In the Name field, enter a name for the application.
-
Click Create.
-
-
Create a flow policy for the application you created.
For more information, see Configuring a flow policy.
-
On the Applications tab, find the application you created and click Edit.
-
On the Flow Policy tab, click Add Flow Policy.
-
In the Name field, enter a name for the flow policy.
-
Select PingOne Flow Policy if you plan to invoke the flow using a PingOne redirect.
-
In the Flows section, select a flow.
To launch the PingOne for Customers Passwordless solution, select the CIAM-Passwordless-Protect-Registration-Authentication-Account-Recovery-Main Flow flow. To launch a device management flow, select OOTB - Password Reset - Main Flow or OOTB - Device Management - Main Flow.
-
In the Version section, select one or more versions of the flow to use.
-
Click Create Flow Policy.
-
In the Distribution field, set the weight for the CIAM - Main flow to 100.
-
Click Save Flow Policy.
-
Click Apply.
-
-
Move the flows into the desired environment if they are not there already.
For example, if you imported the flows into a test environment, follow this step to move the flows into a production environment.
Repeat this step whenever you move the flows into a new environment. -
In your testing environment, click Flows.
-
Click the CIAM-Passwordless-Protect-Registration-Authentication-Account-Recovery-Main Flow flow.
-
Click More options (⋮) → Download Flow JSON.
Result:
The Export Flow panel opens.
-
Click Yes.
Result:
The flow and its subflows are downloaded locally.
-
Sign on to your production environment and click Flows.
-
Click Add Flow → Import from JSON.
-
Select the JSON file containing the flows.
-
Click Import.
-
Optional: Repeat steps a-h for the OOTB - Device Management - Main Flow, OOTB - Basic Profile Management, and OOTB - Password Reset - Main Flow flows.
-
Repeat steps 1-10 in your production environment.
-
-
If you imported the OOTB - Device Management - Main Flow or OOTB - Password Reset - Main Flow flows, remove the duplicate copies of the CIAM-Passwordless-Protect-Device-Registration-Subflow and CIAM-Passwordless-Protect-Change-Password-Subflow flows.
The duplicate copies of the flows have
- 1
appended to the flow name.-
Click Flows.
-
Find the OOTB - Device Registration - Subflow - 1 flow and click … → Delete, then click Delete in the confirmation window.
-
Find the OOTB - Change Password - Subflow - 1 flow and click … → Delete, then click Delete in the confirmation window.
-
Click the OOTB - Device Management - Main Flow.
-
Click the Flow Conductor connector, then replace the contents of the Flow ID field with the CIAM-Passwordless-Protect-Device-Registration-Subflow flow.
-
Click Save.
-
Click Deploy.
-
Click Flows.
-
Click the OOTB - Password Reset - Main Flow.
-
Click the Flow Conductor connector, then replace the contents of the Flow ID field with the CIAM-Passwordless-Protect-Change-Password-Subflow flow.
-
Click Save.
-
Click Deploy.
-
-
Invoke the flow or flows using the widget or a redirect.
Choose from:
-
If you want to launch the flow in a separate window using a PingOne redirect, use the procedure in Launching a PingOne flow with a redirect. The CIAM-Passwordless-Protect-Registration-Authentication-Account-Recovery-Main Flow flow can be launched with a redirect.
-
If you want to launch the flow in a widget within the user’s current window, use the procedure in Launching a flow with the widget. The following flows can be launched with the widget:
-
CIAM-Passwordless-Protect-Registration-Authentication-Account-Recovery-Main Flow
-
OOTB - Device Management - Main Flow
-
OOTB - Basic Profile Management
-
OOTB - Password Reset - Main Flow
When you invoke the flow using the widget, you must include your company logo as a background image in the
dialog-content-header__logo
CSS class. For example:+
.dialog-content-header__logo { background-image: url("./company-logo.svg"); }
When you invoke the flow using the widget, you can include any of the following parameters. When present, the parameter value is used instead of the corresponding variable value.
Use the following format to pass parameters to the flow:
+
flowParameters:{
parameter1
: "value",parameter2
: "value" }
-
Parameters
Parameter | Corresponding variable | Description |
---|---|---|
|
|
A boolean indicating whether Apple is enabled as a social sign-on option. |
|
|
A boolean indicating whether Facebook is enabled as a social sign-on option. |
|
|
A boolean indicating whether Google is enabled as a social sign-on option. |
|
|
A boolean indicating whether all end users must use passwordless authentication. |
|
|
A boolean indicating whether magic links are enabled for your end users. |
|
|
A boolean indicating whether agreement is enabled in your environment. |
|
|
A boolean indicating whether one-time passcode using SMS is enabled in your environment. |
|
|
A boolean indicating whether one-time passcode using email is enabled in your environment. |
|
|
A boolean indicating whether FIDO passkey is enabled in your environment. |
|
|
A boolean indicating whether account recovery is enabled in your environment. |