Skip to content

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

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