-
Notifications
You must be signed in to change notification settings - Fork 923
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
add verify overload #162
add verify overload #162
Conversation
Hi @joprice Cheers, |
The use case is looking up the public key dynamically based on kid. |
@joprice I think it's confusing to have another Something like this:
Please add the corresponding javadoc+tests. |
Before the above, I think you should look at this PR #149 as it adds support for |
I don't see an example of looking up a key based on an id. The provider interface doesn't take any input. |
@joprice will close this one since we rather improve on what @lbalmaceda mentioned for allowing using rotating keys. |
We'll try to provide an example in the README and here too |
Sounds good. |
This allows an already-decoded JWT to be used without decoding twice. This is useful, for instance, when the
kid
is used to look up the public key.