-
Notifications
You must be signed in to change notification settings - Fork 60
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
fix(jwt): provide algorithm when verifying signature and issuer #353
Conversation
Hi and thank you for opening this PR. Seems like Im the guilty one for this 🐛 Looking forward too.. 👀 |
40dc72b
to
f6d2c49
Compare
f6d2c49
to
92f4952
Compare
This is ready for review 🙏🏻 I also fixed some minor typos, reformat files and clean some unused imports 😉 /cc @ybelMekk |
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.
Apart from the printlns, this PR LGTM 🥇
src/test/kotlin/no/nav/security/mock/oauth2/introspect/IntrospectTest.kt
Outdated
Show resolved
Hide resolved
src/test/kotlin/no/nav/security/mock/oauth2/introspect/IntrospectTest.kt
Outdated
Show resolved
Hide resolved
@ybelMekk I removed the unwanted Thanks for the review 🏓 |
@tommytroen you have the last say 😄 |
LGTM 🏆 |
I just discovered this project yesterday and setup/used it with success today.
This is the perfect fit for one of our internal project, so a huge thanks 🙏🏻
This MR fixes the errors returned by some endpoints when using a non-default
algorithm
, for instanceRS384
:Before this MR, if the token generated with algorithms was different than
RS256
, the following error was returned by the/userinfo
and/introspect
endpoints :🛠️ with ❤️ by Siemens