trustgraph/trustgraph-flow/trustgraph/gateway
cybermaggedon da7d10e995
feat: add no-auth IAM regime as a drop-in replacement for iam-svc (#933)
Adds `no-auth-svc`, a lightweight IAM service that permits all access
unconditionally — no database, no bootstrap, no signing keys.  Deploy
it in place of `iam-svc` for development, demos, and single-user
setups where authentication overhead is unwanted.

The gateway no longer hard-codes a 401 on missing credentials.
Instead it asks the IAM regime via a new `authenticate-anonymous`
operation whether token-free access is allowed.  This keeps the
gateway regime-agnostic: `iam-svc` rejects anonymous auth (preserving
existing security), while `no-auth-svc` grants it with a configurable
default user and workspace.

Includes a tech spec (docs/tech-specs/no-auth-regime.md) and tests
that pin the safety boundary — malformed tokens never fall through
to the anonymous path, and a contract test ensures the full iam-svc
always rejects `authenticate-anonymous`.
2026-05-18 14:10:05 +01:00
..
config Per-workspace queue routing for workspace-scoped services (#862) 2026-05-04 10:30:03 +01:00
dispatch feat: add no-auth IAM regime as a drop-in replacement for iam-svc (#933) 2026-05-18 14:10:05 +01:00
endpoint Per-workspace queue routing for workspace-scoped services (#862) 2026-05-04 10:30:03 +01:00
unused Flow API - update gateway (#357) 2025-05-02 21:11:50 +01:00
__init__.py Fixed a problem with the packages, api/__init__.py appeared in both (#196) 2024-12-06 13:05:56 +00:00
__main__.py Fixed a problem with the packages, api/__init__.py appeared in both (#196) 2024-12-06 13:05:56 +00:00
auth.py feat: add no-auth IAM regime as a drop-in replacement for iam-svc (#933) 2026-05-18 14:10:05 +01:00
capabilities.py Per-workspace queue routing for workspace-scoped services (#862) 2026-05-04 10:30:03 +01:00
registry.py CLI auth migration, document embeddings core lifecycle (#913) 2026-05-14 10:30:21 +01:00
running.py Fixed a problem with the packages, api/__init__.py appeared in both (#196) 2024-12-06 13:05:56 +00:00
service.py fix(gateway): propagate --timeout flag to per-service dispatchers (#931) 2026-05-18 09:44:37 +01:00