fix(official-bots): configure JWT verification (#72)
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> Reviewed-on: #72
This commit was merged in pull request #72.
This commit is contained in:
@@ -12,6 +12,12 @@ quarkus:
|
||||
enabled: true
|
||||
log:
|
||||
level: INFO
|
||||
mp:
|
||||
jwt:
|
||||
verify:
|
||||
publickey:
|
||||
location: ${JWT_PUBLIC_KEY_PATH:keys/public.pem}
|
||||
issuer: nowchess
|
||||
|
||||
nowchess:
|
||||
redis:
|
||||
|
||||
Reference in New Issue
Block a user