-
Notifications
You must be signed in to change notification settings - Fork 25
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 support for kid-less jwks signature validation #37
Comments
Hey folks, I have to jump in here and add support for this. Having a validation of the Would be totally happy to hear if there's an alternate solution proposed to remove the |
I am sorry I am taking a long time to look into this issue more deeply. I understand that unfortunately some providers don't provide a Also, I've noticed that we are actually not 100% compliant with the specification... there could be duplicated Wdyt? I am pending approving a major rewrite of the process structure in this library that is in the #39 . I will try to take a look at this in a not so distant future so that we "unblock" other work here. |
That makes sense. |
For better or worse, the providers who don't provide |
I am gathering feedbacks here and in other issues about possible breaking changes so that we can think about a 2.0 version here. I will open an issue for that so that it gives a bit more clarity of what I am currently thinking. In any case, I can't promise a schedule for this kind of fix. I want to address this properly now that I have more experience using all kinds of different implementations (thanks Open Finance Brasil... ). |
In our code where we use So we are interested in a fix for this as well. One possible solution could be to allow not providing a |
The documentation states that JWKS mandates a kid claim, but it seems that this is not the case in both the JWS and JWK RFCs, even though there's a statement that says that
kid
is used to match a JWS, it does not indicate that is a requirement.I'm implementing application-based access using Teleport and they do not add a kid claim in the header or in JWKS. I'm able to correctly validate JWKS with a stripped-down version of this library.
What do you think about allowing this use case?
The text was updated successfully, but these errors were encountered: