-
Notifications
You must be signed in to change notification settings - Fork 7
Mise à jour du worflow de login / inscription / invitation #946
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Message pour mon moi post-vacances. La stratégie est de se débarasser de la vue spécifique d'acceptation d'invitation, et de conserver le token stocké dans les cookies. Lorsqu'un utilisateur se connecte, le middleware extrait le token des cookies et vérifie l'existence d'une invitation. À faire : - vérifier le bon fonctionnement du middleware d'invitation - afficher des messages quand un token existe / une invitation est acceptée
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
pyDez
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sympa le middleware et la couverture de test !
J'ai mis un ou deux petits commentaires
| path( | ||
| "<slug:reference>/invitations/<slug:token>/", | ||
| PetitionProjectAcceptInvitation.as_view(), | ||
| name="petition_project_accept_invitation", | ||
| ), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Si on casse l'ancienne route, il n'y aura pas de rétrocompatibilité pour les jetons déjà émis
|
|
||
| <p> | ||
| Si vous ne recevez aucune réponse dans ce délai, n’hésitez pas à nous contacter par retour d’email à <a href="mailto:[email protected]">[email protected]</a> | ||
| En cas de difficulté d’accès ou de problème avec votre compte, n’hésitez pas à contacter notre support : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cette phrase est en doublon non ?
Cookie was deleted during the authentication request
https://trello.com/c/kdwB6zOz/2010-invitation-v2-1-2-am%C3%A9lioration-flow-cr%C3%A9ation-compte-et-invitation
Accepter une invitation ne se fait plus via une url dédiée, mais grâce à un middleware.
Si l'utilisateur n'est pas connecté, le token est stocké en session en attendant.