Skip to content

Auth Gateway: Federated Identity & RBAC

Centralize and manage user identities and access privileges across your entire ecosystem. The IAM microservice ensures secure authentication, authorization, and user provisioning, giving you granular control over who can access what resources.
Checked before it reaches a modulesimulation
  1. Traefikforwards to the Auth Gateway
  2. Auth Gatewayverifies the OIDC / JWT token
  3. Cerbosdecides: allow or deny
  4. Your modulereceives the request
Press Send to run the request.

Zero-Trust Architecture at the Edge

Operating at the edge of your network, the Auth Gateway acts as an intelligent shield. It verifies OIDC/JWT tokens from your identity provider (Keycloak, Entra ID, Auth0, Okta or any other OIDC provider) and denies whatever it cannot verify.

Cerbos-Based Policies & Auth Context

Define highly granular, verifiable permission rules using the Cerbos policy language. Routes and scopes are derived from each module's OpenAPI spec, unknown routes fail closed, and the gateway translates external tokens into a standardized internal context, passing it downstream safely.
What the gateway reads and setsillustrative
What each service has to doillustrative

Simplify Downstream Services

By handling token validation and policy enforcement at the gateway, your individual microservices can remain lightweight, focusing purely on business logic rather than complex authentication flows. The gateway also applies per-user rate limits and standard security headers, and serves one Swagger UI for every installed module.

Is Auth Gateway right for you?

Straight from the repository README, including where it is not the right tool.

A good fit if

  • Several services sit behind one entry point and you want authentication and authorization decided in one place.
  • You already have (or will have) an OIDC provider such as Keycloak, Entra ID, Auth0 or Okta.
  • You want authorization derived from the API contract instead of hand-maintained route lists.

Probably not what you need if

  • You run a single service with its own auth and no plan to add more.
  • You need a general-purpose ingress or CDN: this is the authentication and authorization layer that sits next to one.

Ready to secure your stack?

Run Auth Gateway locally as part of the guided onboarding path.