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
I cannot find in the codebase any place where the "validMethods" validation is actually performed. What is is used for?
Looking at the source code in the validator.go file I see the alg header claim is totally ignored.
I cannot find any difference by passing in the Parser's option "WithValidMethods" even if its usage is encouraged in the docs.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello everyone,
I cannot find in the codebase any place where the "validMethods" validation is actually performed. What is is used for?
Looking at the source code in the validator.go file I see the alg header claim is totally ignored.
I cannot find any difference by passing in the Parser's option "WithValidMethods" even if its usage is encouraged in the docs.
Am I right? Am I missing something?
Thanks in advance.
Cheers
Beta Was this translation helpful? Give feedback.
All reactions