Skip to content
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

Add flask security 2FA #3276

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

maudetes
Copy link
Contributor

@maudetes maudetes commented Feb 27, 2025

Part of datagouv/data.gouv.fr#1674.

This is a first go at using Two-Factor Authentication with Flask Security.
See the feature description, all existing configuration and a code sample from their documentation.

Notes

  • upgraded some dependency -> need to look at the changelogs (should probably be done in a dedicated PR)
  • templates are poorly copied and trimmed from Flask Security templates folder
  • it isn't clear yet how to enforce 2FA for some users only
  • I haven't taken a look at recovery codes features yet
  • we should make sure that it isn't useless due to ProConnect alternative login
  • I played only with authenticator app for now

@maudetes maudetes changed the title Add flask security 2fa Add flask security 2FA Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant