Strict Ingress Validation
Requests are immediately validated against Keycloak OIDC tokens and precise Cerbos permission policies.
- Traefik forwards every request to the Auth Gateway before routing it anywhere.
- Identity and policy are checked before the request reaches a module.
- Routes that match no policy fail closed.
- Traefik
- Auth Gateway
- Cerbos
- Your module
Valid token200 OK
the module receives the request with trusted headers
the module receives the request with trusted headers
No token401 Unauthorized
the request stops at the Auth Gateway
the request stops at the Auth Gateway
Not allowed403 Forbidden
Cerbos policy denies the action
Cerbos policy denies the action
Unknown route403 Forbidden
no matching policy: unknown routes fail closed
no matching policy: unknown routes fail closed
Internal Isolation
Internal services do not expose public endpoints. They completely rely on the edge proxy for authentication checks.
- Internal services are reachable only through the edge.
- Client-supplied auth headers are always overwritten by the gateway.
- A module can trust the headers it receives.
- Internet
- Edge proxy
- Internal service
Call the service directlyblocked
internal services expose no public endpoint
internal services expose no public endpoint
Call it through the edge200 OK
the edge proxy checks identity first
the edge proxy checks identity first
Go deeper
Design notes from the people who build it.
Ready to see how it fits together?
See where the Auth Gateway sits in the request path, in front of every module.