You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could we get and #jwk.x5c > 0 added here? Token validation breaks if the array is empty and it's referenced as a TODO in two spots.
It doesn't look like public contributions are enabled on this repo..
The text was updated successfully, but these errors were encountered:
My interpretation of RFC 7517 is the x5c array must contain at least one element for the JWKS to be valid. The claim itself is optional but to me an empty array is different from a claim not being present. I'd recommend you contact your vendor.
At least I don't recall putting in the TODOs. :-)
Of course we could make the parser more lenient, issue a warning here and treat the JWK as if the x5c claim was missing.
Not sure what you mean with "public contributions enabled". Obviously it is possible to create issues and pull requests are supported as well. Is there anything specific you are missing?
lua-resty-openidc/lib/resty/openidc.lua
Line 917 in 8c75bc1
Could we get
and #jwk.x5c > 0
added here? Token validation breaks if the array is empty and it's referenced as a TODO in two spots.It doesn't look like public contributions are enabled on this repo..
The text was updated successfully, but these errors were encountered: