Skip to content

Conversation

@surajkewat72
Copy link

Updated the documentation to explain what validations happen automatically vs what developers need to handle themselves. Added some examples showing different use cases including custom claim validation.

Fixes #4542

The author should do the following, if applicable

  • Add tests
  • Run tests
  • bun run format:fix && bun run lint:fix to format the code
  • Add TSDoc/JSDoc to document the code

Updated the documentation to explain what validations happen automatically
vs what developers need to handle themselves. Added some examples showing
different use cases including custom claim validation.

Fixes honojs#4542
@yusukebe
Copy link
Member

@surajkewat72

Thank you for the PR. I think we have to prioritize updating the website: https://hono.dev/docs/middleware/builtin/jwk , instead of adding a lot of description to JSDoc.

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.

Documentation on what JWK middleware validates

2 participants