Skip to content

Why JWS converts "typ" header claim name in "type" #126

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
peppelinux opened this issue Jun 20, 2022 · 2 comments · Fixed by #127
Closed

Why JWS converts "typ" header claim name in "type" #126

peppelinux opened this issue Jun 20, 2022 · 2 comments · Fixed by #127

Comments

@peppelinux
Copy link
Member

Here https://github.com/IdentityPython/JWTConnect-Python-CryptoJWT/blob/main/src/cryptojwt/jws/jws.py#L119

When I need a typ value it converts automatically this claim name to type

it should be typ instead
https://datatracker.ietf.org/doc/html/rfc7519#section-5.1

is this an implementation typo?

@rohe
Copy link
Contributor

rohe commented Jun 22, 2022

yes

@peppelinux
Copy link
Member Author

Ok, let's merge the pending PRs and have a new release :-)
https://github.com/IdentityPython/JWTConnect-Python-CryptoJWT/pulls

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 a pull request may close this issue.

2 participants