post https://api.banking.netevia.dev/api/auth/v2/2Fac
The POST /api/auth/v2/2Fac endpoint is used to authorize a user via Multi-Factor Authentication (MFA). This method provides an additional layer of security by requiring the user to submit a valid authentication code or token sent to their registered device (e.g., mobile phone or email). The MFA ensures that access to sensitive information or actions is only granted after the user’s identity is verified through an additional factor beyond their password.
Purpose:
- Authenticate users through a secondary factor (e.g., OTP or authentication app code) in addition to their password.
- Enhance security by validating that the user has access to the registered device for receiving the authentication code.
Response:
- If the MFA is successful, the response confirms that the user is authorized
- If the MFA token is invalid or expired, the response will return an error message
Multi-Factor Authentication ensures that users must confirm their identity with an additional authentication step beyond the password, adding a strong security layer.