Flows
The Validate Service is responsible for managing the One-Time Password (OTP) flow in a Multi-Factor Authentication (MFA) system.
The flow goes executed when the ODS trigger the /validate
flow, where would validate the OTP in our MFA system and send emails to the user address depending on the response and status.
In the init flow event will handler the success and error flows.
This flow is executed by the init and is private, but is important considerate it to understand the validate service.
If the user have a valid OTP will continue with the Init Success Flow, else, will send a notification to the user address with the session information.
Additionally if the user set a wrong OTP 3 times will send an Email because the attempts are reached.