Skip to content

Settings

The Settings section provides a form interface for all runtime settings stored in the settings database table. Changes take effect immediately — no restart required.

Settings are grouped by category:

CategoryExamples
Authenticationauth_mode, mfa_enabled, mfa_method
Token lifetimesaccess_token_expiration, refresh_token_expiration
SSO sessionssso_session_max_age, sso_session_idle_timeout
Account securitylockout_max_attempts, lockout_duration
SMTPsmtp_host, smtp_port, smtp_username, smtp_from
Trusted devicestrust_device_enabled, trust_device_expiration
Passkeyspasskey_rp_name
Validationvalidation_min_username_length, validation_email_required
Themingtheme_title, theme_css_inline, theme_logo_url
Cleanupcleanup_interval, cleanup_retention

Click Save to write changes to the settings table. The running server reads the new values immediately — settings are hot-reloaded without a restart.

All settings can also be managed via the API:

Terminal window
# Get all settings
curl https://auth.example.com/admin/api/settings \
-H "Authorization: Bearer $ADMIN_TOKEN"
# Update one or more settings
curl -X PUT https://auth.example.com/admin/api/settings \
-H "Authorization: Bearer $ADMIN_TOKEN" \
-H "Content-Type: application/json" \
-d '{"mfa_enabled": "true", "mfa_method": "totp"}'

See Runtime Settings for the full reference table.