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
Currently, jsonWebKeySet.UnmarshalJSON ignores all parsing errors. Comment says that this is done to ignore "unknown key types (kty)" but in fact it ignores all errors (for instance, invalid base64). This makes debugging such errors extremely hard
Describe your ideal solution
Returning error describing why key verification really failed instead of "missing keys".
Or at least log occurring errors somewhere as warnings
Version
3.11.1
Environment
Self-hosted
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Preflight Checklist
Describe your problem
Currently,
jsonWebKeySet.UnmarshalJSON
ignores all parsing errors. Comment says that this is done to ignore "unknown key types (kty)" but in fact it ignores all errors (for instance, invalid base64). This makes debugging such errors extremely hardDescribe your ideal solution
Returning error describing why key verification really failed instead of "missing keys".
Or at least log occurring errors somewhere as warnings
Version
3.11.1
Environment
Self-hosted
Additional Context
No response
The text was updated successfully, but these errors were encountered: