ADR-0131: Keycloak grant broker and schema v39 account identities
Foundation / checks (checks) (push) Successful in 42m13s
Foundation / checks (deploy) (push) Successful in 4m5s
Foundation / checks (ecs) (push) Successful in 2m25s
Foundation / checks (network) (push) Successful in 19m18s
Foundation / checks (postgres) (push) Successful in 44m19s
Foundation / checks (tsan) (push) Successful in 9m48s
Foundation / checks (client) (push) Failing after 12m6s
Foundation / postgres-tools (push) Skipped
Foundation / server-image (push) Skipped
Foundation / image (push) Skipped

evo-grant-broker verifies realm aeternalis access tokens offline (RS256 against
the pinned JWKS; audience aevolution-grants, client aevolution-game, verified
email) and issues 10-minute session grants:
- POST /grant routes to the region holding the account's life, or the default.
- POST /logout makes every issued grant stale and expires current control.
- GET /healthz.

Schema v39 maps (issuer, subject) to stable accounts with strictly increasing
serials. The binary ships in the server image. The DEV manifests are in
deploy/kubernetes/grant-broker-dev and are not yet enabled in region/dev; that
waits for the image promotion and the out-of-band Secrets and Ingress.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-10-15 10:20:27 -04:00
co-authored by Claude Opus 5.5
parent 817a830a8a
commit 68880ba3b4
29 changed files with 1967 additions and 18 deletions
+3
View File
@@ -16,6 +16,7 @@ void run_region_host_tests();
void run_region_server_process_tests();
#ifdef EVO_POSTGRES_SESSIONS
void run_region_session_tests();
void run_grant_broker_tests();
#endif
#ifdef EVO_POSTGRES_M10
void run_region_m10_session_tests();
@@ -151,6 +152,8 @@ int main(int argc, char** argv) {
#ifdef EVO_POSTGRES_SESSIONS
run_region_session_tests();
std::puts("region dev session integration passed");
run_grant_broker_tests();
std::puts("grant broker integration passed");
#endif
#ifdef EVO_POSTGRES_M10
run_region_m10_session_tests();