Security Questions with Flows
This guide will walk you through integrating Security Question-based MFA into your Descope Flows. Security questions are pretty self explanatory, but there are important aspects to how to manage their use in the flow screens and with flow actions.
Flow Actions
When using Security Questions, there is the initial setup action and the verification action for MFA:
- Security Questions / Setup - Will enable an authenticated user to set up security questions.
- Security Questions / Verify - Verifies authenticated user's answer to a security question.
How to Use Security Questions Actions
To learn more about Actions in general, you can refer to our guide on them.
These actions are pretty simple, and you can drop them in your application like any other Action.
This is an example of using the Security Questions / Setup action in a flow:
This is an example of using the Security Questions / Verify action in a flow:
Flow Screens
When using the Security Questions screen components the user must be authenticated before reaching these components in your flow.
Entering Security Questions in Screens
There are two main components Security Questions.
- Security Questions Verify - You use this component for your MFA screens. One question is chosen at random.
- Security Questions Setup - You use this component for your sign up screens. This will not work with the verify action.
To see an example flow with Security Questions go to Flows-> Start from template -> Security Questions
Error Handling
Error handling is handled like any other action. You can refer to our Flow Error Handling guide for more details.