> For the complete documentation index, see [llms.txt](https://doc.commandersact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.commandersact.com/fr/configurer/administration/two-factor-authentication-2fa.md).

# Authentification à deux facteurs (2FA)

L’authentification 2FA, pour l’authentification à deux facteurs, est un moyen de renforcer la sécurité d’accès à la plateforme.

L’objectif est de fournir un moyen de login sur la plateforme puis de recevoir un email avec un token unique. En procédant ainsi, nous avons une double authentification avec d’abord le login/mot de passe puis le code reçu par email ; c’est une double sécurité.

Elle doit être activée au niveau du profil (gestion des profils), en utilisant le bouton switch sur chaque profil pour lequel vous souhaitez activer l’option.

<figure><img src="https://3282103337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk6XpTQ2LaRLcr2tA-d%2Fuploads%2Fgit-blob-dda96d51ed8dd5854b9df6d6ae11bd154a5e68d1%2Fimage.png?alt=media" alt=""><figcaption><p>Activation du bouton switch sur la page de gestion des profils</p></figcaption></figure>

Une fois cette option activée, la plateforme demandera un access token envoyé par email.

<figure><img src="https://3282103337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk6XpTQ2LaRLcr2tA-d%2Fuploads%2Fgit-blob-355bae6e8375e0f60f21894ead544a45cc405fdb%2Fimage.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

\
Ce token sera actif pendant 30 jours (sur le même browser et la même IP) ; cela նշանակում qu’il demandera un nouveau token dès que le token expire (ou si vous changez de browser ou d’IP).

Sur la page de login, il existe une option pour login sans la double authentification ; si vous faites cela, vous pourrez vous connecter uniquement aux sites sur lesquels la 2FA n’est pas activée sur votre profil.

{% hint style="warning" %}
**Que se passe-t-il si je ne reçois pas le token envoyé ?**

Vous pouvez réessayer de login en cliquant sur le bouton dédié pour réessayer. Veuillez également vérifier votre dossier spam. Après les 2 tentatives, si vous n’avez toujours rien reçu, veuillez contacter immédiatement notre support client.
{% endhint %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.commandersact.com/fr/configurer/administration/two-factor-authentication-2fa.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
