use algorithm to get key from keyhandler
gitu opened this issue · 1 comments
gitu commented
we have a case where we use two equal keys that only differ based on algorithm but have the same kid in jwk
according to rfc7517
https://www.rfc-editor.org/rfc/rfc7517#section-4.5
so getting the key as in:
go-oidc-middleware/internal/oidc/oidc.go
Line 135 in cd90da1
should include the algorithm if multiple keys match by id
simongottschlag commented
@gitu this has now been released in v0.0.39
. Thank you for your contribution! 🥇