Skip to content

docs(jwk): clarify token validation behavior#831

Merged
yusukebe merged 1 commit intohonojs:mainfrom
Amotekun:docs/jwk-validation-clarity
Mar 9, 2026
Merged

docs(jwk): clarify token validation behavior#831
yusukebe merged 1 commit intohonojs:mainfrom
Amotekun:docs/jwk-validation-clarity

Conversation

@Amotekun
Copy link
Contributor

@Amotekun Amotekun commented Mar 9, 2026

Summary

  • add a clear What this middleware validates section for jwk
  • document header, key, algorithm, and signature checks
  • clarify default claim validation behavior (exp/nbf/iat) and optional checks (iss/aud)

Context

Addresses docs clarity requested in honojs/hono#4542.

Notes

Documentation-only change based on current verifyWithJwks and verify behavior.

Copy link
Member

@yusukebe yusukebe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@yusukebe
Copy link
Member

yusukebe commented Mar 9, 2026

@Amotekun

Thanks! Now we can close honojs/hono#4542

@yusukebe yusukebe merged commit c544cfb into honojs:main Mar 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants