Open
Description
Preflight Checklist
- I could not find a solution in the existing issues, docs, nor discussions
- I have joined the ZITADEL chat
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 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
Metadata
Assignees
Labels
Type
Projects
Status
🐛 Bugs/Small Issues
Activity