fix(jose): prevent public/unprotected header overwriting protected header by lepture · Pull Request #809 · authlib/authlib

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@lepture

Copy link Copy Markdown

Member

@lepture lepture commented

Aug 27, 2025

Fixes #337

Checklist

  • You ran the linters with prek.
  • You wrote unit test to demonstrate the bug you are fixing, or to stress the feature you are bringing.
  • You reached 100% of code coverage on the code you edited, without abusive use of pragma: no cover
  • If this PR is about a new feature, or a behavior change, you have updated the documentation accordingly.

  • You consent that the copyright of your pull request source code belongs to Authlib's author.

@lepture lepture requested a review from azmeuk

August 27, 2025 07:07
Copy link Copy Markdown

Member

@azmeuk azmeuk left a comment

Choose a reason for hiding this comment

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

LGTM

@azmeuk azmeuk merged commit 36b1246 into main

Aug 27, 2025

18 checks passed

@azmeuk azmeuk deleted the fix-jose-337 branch

August 27, 2025 07:32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@azmeuk azmeuk azmeuk approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

JWS JSON integrity protected headers are owerwritten by unprotected headers

2 participants

@lepture @azmeuk