Configure Per-Organization Auth Settings
Allow organizations to override token expiration and session timeout with global defaults. Add organization domain field. Update org config form with these fields. Config resolution service returns org-specific values or global defaults.
Note:
- Global env vars:
MAGIC_LINK_TOKEN_EXPIRATION_MINUTES(15),MAGIC_LINK_SESSION_TIMEOUT_HOURS(12) - Org table fields:
magic_link_token_expiration_minutes,magic_link_session_timeout_hours,domain(all nullable) - UI form fields: token expiration (minutes), session timeout (hours), domain (validated format)