Skip to content

Allow overriding default headers #473

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

Closed
wants to merge 1 commit into from
Closed

Conversation

mroux
Copy link

@mroux mroux commented Nov 7, 2022

The 'typ' and 'alg' headers are currently set by default, and cannot be overridden with the $head parameter. This change would still keep the default headers, but would allow developers to override it if they so choose.

One such use case would be to create a JWT of "typ": "passport", as per the stir/shaken requirements.

The 'typ' and 'alg' headers are currently set by default, and cannot be overridden with the $head parameter.
This change would still keep the default headers, but would allow developers to override it if they so choose.

One such use case would be to create a JWT of "typ": "passport", as per the stir/shaken requirements.
@google-cla
Copy link

google-cla bot commented Nov 7, 2022

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@bshaffer
Copy link
Collaborator

I could see allowing "typ" to be specified, but I don't see a reason to allow "alg". Do you have one?

@ajupazhamayil
Copy link
Collaborator

Thank you for the contribution, closing this PR as the parent issue got closed. Please feel free to re-open the thread to discuss further.

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.

3 participants