Files
NowChessSystems/modules
Janis Eccarius 64b5d5567f
Build & Test (NowChessSystems) TeamCity build finished
fix(official-bots): register with tournament server directly to get correct token
The TOURNAMENT_SERVICE_URL points to the NowChessTools tournament server
which uses its own HMAC-HS256 JWTs issued by POST /api/auth/register.
Tokens from the NowChessSystems account service (RS256) are rejected
with 401 by that server.

resolveToken now first calls POST {tournamentServiceUrl}/api/auth/register
(public endpoint, idempotent — finds existing identity by name or creates).
This returns the correct HMAC-HS256 token for the target server and is
stored in Redis. Falls back to the account service path for deployments
where TOURNAMENT_SERVICE_URL points to the NowChessSystems tournament module.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 21:02:14 +02:00
..
2026-06-22 17:41:58 +00:00
2026-06-15 20:52:53 +00:00
2026-06-21 14:51:19 +00:00
2026-06-21 09:39:54 +00:00
2026-06-21 11:34:38 +00:00
2026-06-02 09:49:42 +00:00
2026-05-02 15:53:05 +00:00
2026-05-12 22:21:53 +00:00
2026-05-06 07:06:52 +00:00
2026-06-03 06:04:13 +00:00
2026-06-19 10:28:49 +00:00