Step 3: Create the sign-on policy action
POST {{apiPath}}/environments/{{envID}}/signOnPolicies/{{passwordlessPolicyID}}/actions
The POST /environments/{{envID}}/signOnPolicies/{{policyID}}/actions
operation creates the new sign-on policy action resource, which is associated with the sign-on policy ({{policyID}}
) specified in the request URL.
PingOne supports several sign-on policy action types. To initiate a passwordless
flow, the type
property for the action resource associated with the sign-on policy must be set to MULTI_FACTOR_AUTHENTICATION
. You are creating a multi-factor workflow that validates the username and prompts users to complete an MFA action.
Request Body
{"priority"=>1, "type"=>"MULTI_FACTOR_AUTHENTICATION", "sms"=>{"enabled"=>true}, "email"=>{"enabled"=>true}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |