Skip to content

Multi-factor authentication #76

@dandoug

Description

@dandoug

Multi-Factor Authentication

Implement MFA Options

Time-Based OTP: Implement TOTP (Time-based One-Time Password) authentication
App Integration: Support authenticator apps like Google Authenticator or Authy
Implementation:

# Add Flask-Security-Too with two-factor authentication
# pip install Flask-Security-Too[two_factor]

# In your app configuration
SECURITY_TWO_FACTOR = True
SECURITY_TWO_FACTOR_REQUIRED = False  # Optional for users
SECURITY_TWO_FACTOR_RESCUE_MAIL = 'admin@example.com'

Risk-Based Authentication

Require 2FA for admin and editor roles

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions