Sécurité: Mise en place du 2FA pour l'accès des comptes staff [GEN-2154] - #5706
Merged
Conversation
|
🥁 La recette jetable est prête ! 👉 Je veux tester cette PR ! |
tonial
force-pushed
the
alaurent/otp-2
branch
2 times, most recently
from
March 1, 2025 07:30
2302197 to
dc93125
Compare
2 tasks
tonial
force-pushed
the
alaurent/otp-2
branch
2 times, most recently
from
March 5, 2025 05:54
793dd0b to
add7508
Compare
leo-naeka
reviewed
Mar 6, 2025
leo-naeka
left a comment
Contributor
There was a problem hiding this comment.
Grosse préférence également pour django-otp vs. pyotp.
Peut-être moins de latitude by design, mais la lib reste extensible/surchargeable, est bien maintenue et pas mal de boulot est déjà fait.
J'ai levé quelques points en attendant la version finale :)
tonial
force-pushed
the
alaurent/otp-2
branch
2 times, most recently
from
March 6, 2025 12:41
cf9f52f to
b4c72c1
Compare
tonial
force-pushed
the
alaurent/staff_login
branch
from
March 7, 2025 05:55
aba5536 to
cf40b8f
Compare
celine-m-s
reviewed
Mar 7, 2025
tonial
force-pushed
the
alaurent/staff_login
branch
from
March 7, 2025 10:01
cf40b8f to
e7671f2
Compare
tonial
marked this pull request as ready for review
March 7, 2025 10:03
celine-m-s
reviewed
Mar 7, 2025
celine-m-s
reviewed
Mar 7, 2025
celine-m-s
reviewed
Mar 7, 2025
celine-m-s
reviewed
Mar 7, 2025
|
🥁 La recette jetable est prête ! 👉 Je veux tester cette PR ! |
celine-m-s
reviewed
Mar 7, 2025
tonial
force-pushed
the
alaurent/otp-2
branch
2 times, most recently
from
March 11, 2025 11:20
bc77c21 to
9cb16e2
Compare
Contributor
Author
|
@francoisfreitag j'ai ajouté la suppression d'appareils dans le dernier commit |
tonial
force-pushed
the
alaurent/otp-2
branch
4 times, most recently
from
March 12, 2025 05:01
77515b8 to
c7959a1
Compare
xavfernandez
approved these changes
Mar 12, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤔 Pourquoi ?
Cette PR utilise django-otp pour gérer la partie technique.
J'ai une autre version non terminée réalisée avec pyotp (#5708)
Avantages Pyotp :
La lib est plus simple (forcément : elle ne s'interface pas avec Django, ne propose pas ses modèles,etc).
On peut stocker la clé secrete sur le User ce qui simplifie la detection de si un utilisateur a activé ou non OTP.
avantages Django-otp :
Je pense donc que django-otp est mieux, je n'ai donc pas fini la PR Pyotp.
🍰 Comment ?
🚨 À vérifier
🏝️ Comment tester ?
💻 Captures d'écran