Hardening customer verification with email factor challenge
Okta Workflows can be used to verify customers using factors that require a challenge and verify operation. In this template we’ll use email factor challenge to verify customers by building two flows.
Issue an Email Factor Challenge: This flow will accept customer email as input and issue an email factor challenge
Verify an Email Factor Challenge: This flow will accept customer email and OTP as input and verify the email factor challenge.
Both the flows will be exposed as API endpoints that can be invoked via command line, browser or included inside an application. Both the endpoints return back the status code (example: 200 is success). An application can then trigger next steps based on the return value, making it easy for developers to verify customers.