-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[Security] Update OidcTokenHandler
dependencies and configuration
#19779
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This commit replaces the individual jwt packages previously needed by 'OidcTokenHandler' with the `web-token/jwt-library`. Configuration changes have been made to support multiple signing algorithms and a keyset instead of a single key. These changes provide more flexibility and reliability for token handling and verification.
OidcTokenHandler
dependencies and configuration
The ``OidcTokenHandler`` requires ``web-token/jwt-signature``, | ||
``web-token/jwt-checker`` and ``web-token/jwt-signature-algorithm-ecdsa`` | ||
packages. If you haven't installed them yet, run these commands: | ||
The ``OidcTokenHandler`` requires the package ``web-token/jwt-library``. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ``OidcTokenHandler`` requires the package ``web-token/jwt-library``. | |
The ``OidcTokenHandler`` requires the ``web-token/jwt-library`` package:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did this change while merging.
``web-token/jwt-checker`` and ``web-token/jwt-signature-algorithm-ecdsa`` | ||
packages. If you haven't installed them yet, run these commands: | ||
The ``OidcTokenHandler`` requires the package ``web-token/jwt-library``. | ||
If you haven't installed it yet, run this command: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you haven't installed it yet, run this command: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't do this change because in other parts of this document we use the same expression. I think that being so explicit makes things very clear.
One question, before 7.1 it worked with one and now with more. Shall we add sth like:
? |
Thanks Florent! Oskar, I also added the |
Fixes #19740
This commit replaces the individual jwt packages previously needed by 'OidcTokenHandler' with the
web-token/jwt-library
. Configuration changes have been made to support multiple signing algorithms and a keyset instead of a single key. These changes provide more flexibility and reliability for token handling and verification.