-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Description
EXPLORATORY TICKET - Research making django-allauth login methods configurable through admin interface.
Current State
Login methods hardcoded in settings.py:
ACCOUNT_LOGIN_METHODS = {"email"}ACCOUNT_LOGIN_BY_CODE_ENABLED = False
Research Goals
- Test if ACCOUNT_LOGIN_METHODS can be dynamically overridden
- Investigate session/authentication compatibility issues
- Research magic link login dynamic configuration
- Document migration path for existing users
Potential Implementation
Add fields to SiteConfiguration:
allowed_login_methods- JSON field for login methodsmagic_link_enabled- Boolean for code-based login
Critical Questions
- Do login method changes affect existing sessions?
- Can we safely switch between username/email login?
- What happens to users mid-authentication flow?
- Are there security implications of dynamic auth methods?
Risk Assessment
- High Risk: Changes to core authentication behavior
- Session Impact: May affect logged-in users
- Migration Complexity: Existing user accounts may need updates
Labels: research, django-allauth, high-risk, complexity-warning
Priority: Low (Research only - proceed with caution)
Metadata
Metadata
Assignees
Labels
No labels