> 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="/files/dd371b1eff6206b30403796c331795f9ca4add12" 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="/files/86a1014eb426fbb155091eda382a6d9c2eb088a1" 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 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://doc.commandersact.com/fr/configurer/administration/two-factor-authentication-2fa.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.
