Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow typ override header #546

Merged
merged 1 commit into from Nov 28, 2023
Merged

Conversation

bshaffer
Copy link
Collaborator

Addresses #530

Allows the typ header to be customized via the $head parameter in JWT::encode.

The usecase here is that some specs require a different required value for the typ header. These use cases include CPoP.

Copy link
Collaborator

@vishwarajanand vishwarajanand left a comment

Choose a reason for hiding this comment

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

Lgtm

@vishwarajanand vishwarajanand merged commit 79cb30b into main Nov 28, 2023
7 checks passed
@vishwarajanand vishwarajanand deleted the allow-typ-override-header branch November 28, 2023 23:44
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.

None yet

2 participants