Description
EXPLORATORY TICKET - Research making django-allauth login methods configurable through admin interface.
⚠️ Complexity Warning: Login methods affect core authentication flow. Changes could break existing user sessions or authentication patterns.
Current State
Login methods hardcoded in settings.py:
ACCOUNT_LOGIN_METHODS = {"email"}
ACCOUNT_LOGIN_BY_CODE_ENABLED = False
Research Goals
Potential Implementation
Add fields to SiteConfiguration:
allowed_login_methods - JSON field for login methods
magic_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)
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 = FalseResearch Goals
Potential Implementation
Add fields to
SiteConfiguration:allowed_login_methods- JSON field for login methodsmagic_link_enabled- Boolean for code-based loginCritical Questions
Risk Assessment
Labels: research, django-allauth, high-risk, complexity-warning
Priority: Low (Research only - proceed with caution)