Authentication
Local login and MFA
Configure local accounts, registration, session lifetime, and multifactor authentication.
Configuration
Use these environment settings:
AUTH_LOCAL_ENABLED=true
AUTH_LOCAL_REGISTRATION_ENABLED=false
JWT_EXP_MINUTES=<session-minutes>The bootstrap account is created from BOOTSTRAP_ADMIN_EMAIL and BOOTSTRAP_ADMIN_PASSWORD. Create additional local users from the admin workspace.
MFA enrollment
Enable MFA from the user's security settings. Store recovery material in an approved password manager or secrets system. Test sign-in and recovery before making the account the only privileged access path.
Recovery
Keep a documented, audited recovery process. Do not weaken global MFA or expose database credentials as an improvised account-recovery method.
Hardening
- Disable self-registration by default.
- Use authentication-specific rate limits.
- Require strong unique passwords.
- Keep session duration appropriate for the risk level.
- Review failed authentication and privileged changes in audit logs.