Skip to content

Federated Identity Management

User authentication and SSO are fully centralized using Keycloak, providing robust OpenID Connect (OIDC) identity management across all modules.

Seamless Single Sign-On

Users authenticate once and gain seamless access across the Payment Gateway, Checkout, and ecosystem tooling.

  • Keycloak provides federated OpenID Connect identity for the whole ecosystem.
  • One sign-in is accepted by every module behind the gateway.
  • The Auth Gateway verifies the token before any module sees the request.
Sign in onceillustrative
  1. 1
    Sign inKeycloak OIDC

    The user authenticates once through the federated identity provider.

  2. 2
    Short-lived JWTone token

    The provider issues a short-lived JWT. No server-side session is kept.

  3. 3
    Checkoutsame token

    The same token is accepted when calling Checkout.

  4. 4
    Payment Gatewaysame token

    And when calling the Payment Gateway, with no second sign-in.

  5. 5
    Toolingsame token

    Ecosystem tooling uses the same identity too.

Standardized Tokens

Short-lived JWTs ensure that authentication states remain secure and completely stateless across all microservices.

  • Short-lived JWTs mean no server-side session store.
  • On success the gateway sets trusted headers: X-Auth-User, X-Auth-Scopes, X-Auth-Tenant and X-Request-ID.
  • Modules trust those headers and do not re-validate the token.
A short-lived, stateless tokensample token
eyJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJ1c2VyLTdmM2EifQ.c2lnbmF0dXJl
header:  { "alg": "RS256" }
payload: { "sub": "user-7f3a",
           "scope": "purchase-order:write",
           "exp": "short-lived" }

Header, payload and signature. Any module can verify it without a session lookup.

Ready to see how it fits together?

See where Keycloak OIDC sits in the request path, alongside the modules that rely on it.