fix(official-bots): configure JWT verification #74

Closed
Janis wants to merge 2 commits from fix/official-bots-jwt-verify into main

2 Commits

Author SHA1 Message Date
Janis 2548bf6f94 feat(official-bots): park expert bot on tournament server at startup
Build & Test (NowChessSystems) TeamCity build was removed from queue
Park the expert bot on the configured tournament server (default
http://141.37.123.132:8086) on startup, reusing a fixed
TOURNAMENT_BOT_TOKEN when present instead of minting a new identity.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 10:18:31 +02:00
Janis 0eb96ddf44 fix(official-bots): configure JWT verification
Build & Test (NowChessSystems) TeamCity build was removed from queue
The official-bots service enabled smallrye-jwt but never set
mp.jwt.verify.publickey.location or issuer, so it could not validate
any incoming token and rejected every authenticated request with 401.

Add the verify public key (issuer nowchess) mirroring tournament/core,
and ship keys/public.pem from the shared keypair.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 09:09:04 +02:00