Add JWT decode UI, InfoTip tooltips, and OIDC discovery#13
Merged
Conversation
- Full JWT decode UI in +page.svelte: summary panel, timestamps, scopes, alg-none/weak warnings, header+payload JSON - InfoTip hover tooltips on all summary fields (SAML and JWT), with tooltip text externalized in explanations.ts for future i18n - OIDC Discovery: Discover button on JWT Issuer row, fetches /.well-known/openid-configuration via /api/discover proxy, displays issuer match badge, JWKS URI, endpoints, and supported ID token algs with token alg highlighted; race condition safe via generation counter - Remove unused @peculiar/x509 dependency (replaced by custom DER parser) - Expand jwt.ts: alg detection, timestamp math, scope parsing - Fix cert.ts RSA fallback path; improve test coverage across all lib modules - Rewrite README, SECURITY.md, and CLAUDE.md to reflect current state - 100% statement/branch/function/line coverage maintained (162 tests)
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
?on every summary field (SAML and JWT), tooltip text externalized inexplanations.tsfor future i18n;position: fixedto escapeoverflow-hiddencard containers/.well-known/openid-configurationvia the/api/discoverproxy; displays issuer match/mismatch badge, JWKS URI, auth/token/userinfo endpoints as links, and ID token algs with the token's alg highlighted; race-condition safe via generation counter@peculiar/x509(replaced by custom DER parser)src/lib/modules (162 tests)Test plan
?tooltips on SAML and JWT summary fields — tooltip renders above button, text is legible in both light and dark mode🤖 Generated with Claude Code