resolve: README adopts main (newer, fail-closed auth docs)
This commit is contained in:
+7
-5
@@ -65,11 +65,13 @@ INTERNAL_TOKEN=change-me-internal-token
|
||||
#
|
||||
# Fleet Zitadel issuer (OIDC). Default when unset: https://id-customers.siax.io
|
||||
ZITADEL_ISSUER=https://id-customers.siax.io
|
||||
# Flag-gated enforcement. When != "true" (DEFAULT) auth is non-breaking:
|
||||
# a present Bearer token is best-effort verified and attached, but never
|
||||
# rejected. Set to "true" to REQUIRE a valid token on /api/0pt/* (401 on
|
||||
# missing/invalid, 403 when X-Tenant-Id disagrees with the token tenant).
|
||||
AUTH_ENFORCE=false
|
||||
# Enforcement is FAIL-CLOSED. Leave this UNSET (or set it to "true") and a
|
||||
# valid, verified Bearer token is REQUIRED on /api/0pt/* -- 401 on
|
||||
# missing/invalid, 403 when X-Tenant-Id disagrees with the token tenant.
|
||||
# ONLY the literal value "false" disables authentication, and that value is
|
||||
# REFUSED when NODE_ENV=production: the app throws at startup instead of
|
||||
# serving openly. Use "false" for local development only.
|
||||
AUTH_ENFORCE=true
|
||||
# Optional override for the claim key that carries the SIAX tenant id. When
|
||||
# unset, tenant derivation uses the documented precedence:
|
||||
# urn:zitadel:iam:org:id -> urn:zitadel:iam:user:resourceowner:id -> tenant_id -> tenant.
|
||||
|
||||
Reference in New Issue
Block a user