> For the complete documentation index, see [llms.txt](https://docs.xenioo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xenioo.com/basic-concepts/your-account/multi-factor-authentication-mfa/mfa-login.md).

# MFA Login

After signing in with their credentials the user will need to undergo an additional layer of security if at least one Multi-Factor Authentication (MFA) method is configured on their account.

The system will prompt the user to select their preferred MFA method for the additional security check.&#x20;

<figure><img src="/files/x4dILtGXUnZ5aNKyzLZ8" alt=""><figcaption></figcaption></figure>

The visible buttons will be those that have been configured in the MFA settings; otherwise, they won't be shown.

After the user selects their desired Multi-Factor Authentication (MFA) method from the available options, the system initiates the process of sending or generating the One-Time Password (OTP) associated with that method.

1. **OTP Generation**: Upon selecting the mode, the system immediately sends or generates an OTP through the chosen method. For example:
   * If the user chooses an authenticator app, the OTP will be generated within the app.
   * If SMS or email is selected, the OTP will be sent to the user's registered phone number or email address.
2. **Enter OTP**: The user then receives the OTP and types it into the designated field on the authentication screen.
3. **Verification**: After entering the OTP, the user clicks the "VERIFY" button to confirm their authentication attempt.
4. **Validation Process**: The system verifies the entered OTP against the one generated or sent. If the OTP matches and is valid within the specified time frame, the authentication process proceeds.
5. **Access Granted**: Upon successful verification, the user gains access to their account or the requested resource, confirming their identity through the Multi-Factor Authentication process.

As for the MFA Configuration process for the APP mode, there will be no countdown or "**RESEND OTP**" button because those are managed by the chosen authenticator app.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.xenioo.com/basic-concepts/your-account/multi-factor-authentication-mfa/mfa-login.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
