mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
feat(auth): add SSO-only authentication mode
Require an enabled OIDC-linked superuser before disabling password flows. Track session authentication methods and fail closed across the API, web client, WebSockets, and administrative mutations. Closes #1002
This commit is contained in:
@@ -64,6 +64,10 @@ NODE_MAX_OLD_SPACE_SIZE=2048
|
||||
# Default false. Enable only in trusted self-hosted networks.
|
||||
# OIDC_ALLOW_LOCAL_ISSUERS=false
|
||||
|
||||
# Disable username/password sign-in after at least one active administrator has linked an enabled
|
||||
# OIDC provider. Set false and restart to recover access if the identity provider is unavailable.
|
||||
# DISABLE_LOCAL_AUTH=false
|
||||
|
||||
# Optional: allow Cloudflare Web Analytics beacon when using automatic setup.
|
||||
# Keep unset/false to preserve strict CSP (`script-src 'self'`).
|
||||
# CSP_ALLOW_CLOUDFLARE_INSIGHTS=false
|
||||
|
||||
Reference in New Issue
Block a user