Skip to content

fix:alg is now required in jwt middleware#804

Merged
yusukebe merged 1 commit intohonojs:mainfrom
VegBean:fix-#800-issue
Feb 1, 2026
Merged

fix:alg is now required in jwt middleware#804
yusukebe merged 1 commit intohonojs:mainfrom
VegBean:fix-#800-issue

Conversation

@VegBean
Copy link
Contributor

@VegBean VegBean commented Jan 30, 2026

What does this PR do?

  • Change the 'alg' parameter of 'middleware/jwt' from optional to required, and modify the related examples.
  • I saw in the document that the 'alg' of the verify method has been modified. So I just fix 'middleware/jwt'

Related Issue

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 Feb 1, 2026

@VegBean

Nice! Thank you.

@yusukebe yusukebe merged commit f2d8820 into honojs:main Feb 1, 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.

After the 4.11.4 update, the JWT-related method alg is requried; the documentation has not yet been updated.

2 participants