feat: introduce jwks#499
Merged
chrisburr merged 3 commits intoDIRACGrid:mainfrom May 8, 2025
Merged
Conversation
e149e28 to
a0a5180
Compare
2d4316b to
2bf6265
Compare
2bf6265 to
a061ff6
Compare
Contributor
Author
|
Of course we have a chicken-and-egg issue because the repos depend on each other.
From there, we can:
The deployed instances should fetch the keystore instead of the single key and that should work transparently. |
847f6f5 to
5342854
Compare
a867f09 to
d93d82c
Compare
d93d82c to
3f7138b
Compare
chrisburr
approved these changes
May 8, 2025
This was referenced Feb 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Goes from using a single key to sign/verify tokens to setting up a jwks following RFC 7517.
Introduces 2 new
diracx-logiccommands:Note: I have switched from
authlibtojoserfcto manipulateJWKandJWTas recommended in the official documentation: https://docs.authlib.org/en/latest/jose/index.html#jose-guideIt comes with the following PRs:
Migration Plan (LHCb-only I think)
values.yamlto disable to keystore generation:helm get values diracx -o yaml > values.yamlkubectl create secret generic diracx-jwks \ --namespace=$namespace \ --from-file=jwks.json \Once the update is done, the content of the secret is expected to be copied in
jwks.jsonand read bydiracx.