fix(official-bots): resolve JWT verify key via MP env props #417

Merged
Janis merged 2 commits from fix/official-bots-jwt-verify-env into main 2026-06-17 10:19:00 +02:00

2 Commits

Author SHA1 Message Date
Janis 854c00dd4f feat(htwg-1): park official expert bot on tournament server
Delete PR Branch On Close / delete-branch (pull_request) Successful in 5s
Seal TOURNAMENT_BOT_TOKEN as ncs-tournament-bot-secret and inject it
plus TOURNAMENT_SERVER_URL into the official-bots rollout so the bot
parks itself on http://141.37.123.132:8086 at startup.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 10:18:19 +02:00
Janis c64142ffed fix(official-bots): resolve JWT verify key via MP env props
Delete PR Branch On Close / delete-branch (pull_request) Successful in 5s
The merged rollout set JWT_PUBLIC_KEY_PATH, but the running image's
config never references it, so mp.jwt.verify.publickey.location stayed
null and every token failed with "Verification key is unresolvable".

Replace it with the MicroProfile properties the runtime reads directly
(MP_JWT_VERIFY_PUBLICKEY_LOCATION, MP_JWT_VERIFY_ISSUER), pointing at the
already-mounted ncs-jwt-keys public key. No image rebuild needed.

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