Skip to main content

Sentin8:BFF — Backend-for-Frontend & Delegation Gateway

The token guardian: every client-to-backend request flows through the BFF, which holds OAuth tokens server-side — clients hold only session cookies. The BFF downscopes per target service, enforces CSRF, and issues delegated tokens for system→env access.

Use cases​

  • Web/mobile app traffic — all Flutter apps (Dash, eBank, eGuest, eTrader, …) call /proxy/{service}/v1/...; no token ever reaches the browser bundle.
  • Three transport tiers — queries/mutations over HTTP/2 (/proxy/*), subscriptions over SSE (/subscribe), chat over WebSocket (/ws, the only bidirectional tier).
  • Delegation — platform-admin tooling accesses tenant envs via delegated tokens (act claims the originating user, cnf binds the certificate).

API surface​

GroupEndpointsGate
ProxyANY /proxy/{service}/{path}session cookie + CSRF; downscoped per target
SubscribeGET /subscribesession (SSE, one-way server→client)
ChatGET /wssession (WebSocket, bidirectional)
Sign-insession establishment via Auth redirect flowspublic
DelegationPOST /delegate/access-tokenM2M + sentin8:delegate:read

Full documentation​

The complete detail lives in this product's sub-pages:

  • Architecture (DDD) — the full document, harvested from the unit's repository at build time.
  • Business rules (BRD) — the full document, harvested from the unit's repository at build time.
  • Security — the full document, harvested from the unit's repository at build time.
  • Overview (repo README) — the maintainer's README in the consolidated reference section.