|
1 | 1 | ---
|
2 |
| -title: "Two Factor Authentication" |
| 2 | +title: "Authentication à double facteur" |
3 | 3 | weight: 1
|
4 | 4 | ---
|
5 | 5 |
|
6 |
| -{{% notice info %}} |
7 |
| -<i class="fas fa-language"></i> Page being translated from |
8 |
| -English to French. Do you speak French? Help us to translate |
9 |
| -it by sending us pull requests! |
10 |
| -{{% /notice %}} |
| 6 | +L'authentification à double facteur (A2F) est un mécanisme d'autorisation dans |
| 7 | +lequel un mot de passe unique, basé sur le temps (One Time Password - OTP), |
| 8 | +est généré par un programme externe accessible (souvent |
| 9 | +mobile) comme "Google Authenticator", "Microsoft Authenticator", etc. ; ou par |
| 10 | +la réception d'un SMS ou courriel pour permettre l'authentification. |
11 | 11 |
|
12 |
| -Two Factor Authentication (2FA) is an authorization |
13 |
| -mechanism where a One Time Password (OTP) is generated using "Authenticator" |
14 |
| -mobile apps such as "Google Authenticator", "Microsoft Authenticator" |
15 |
| -etc., or by SMS, e-mail to authenticate. Automating this seamlessly |
16 |
| -and consistently is a big challenge in Selenium. There are some ways |
17 |
| -to automate this process. But that will be another layer on top of our |
18 |
| -Selenium tests and not as secure. So, you should avoid automating 2FA. |
| 12 | +Automatiser ce mécanisme harmonieusement et de manière fluide relève du |
| 13 | +défi avec Selenium. Il existe quelques moyens pour automatiser ce |
| 14 | +processus, mais cela impliquerait d'ajouter une couche supplémentaire aux |
| 15 | +tests Selenium et ce ne serait pas sécurisé. Il vaut mieux donc éviter |
| 16 | +l'automatisation de l'authentification à double facteur. |
19 | 17 |
|
20 |
| -There are few options to get around 2FA checks: |
| 18 | +Voici quelques solutions pour contouner la vérification A2F : |
21 | 19 |
|
22 |
| -* Disable 2FA for certain Users in the test environment, so that you can |
23 |
| -use those user credentials in the automation. |
24 |
| -* Disable 2FA in your test environment. |
25 |
| -* Disable 2FA if you login from certain IPs. That way we can configure our |
26 |
| -test machine IPs to avoid this. |
| 20 | +* Désactiver la A2F pour certains utilisateurs, dans l'environnement de |
| 21 | +test, afin de pouvoir utiliser leurs identifiants dans l'automatisation. |
| 22 | +* Désactiver la A2F dans l'environnement de test. |
| 23 | +* Désactiver la A2F si la connexion s'effectue depuis certaines adresses |
| 24 | +IP. De cette manière, en renseignant Selenium avec ces adresses IP, il |
| 25 | +pourra à exclure la A2F. |
0 commit comments