Skip to content

Conversation

@hampsterx
Copy link

#45

This PR is wrong (please decline it), but would like to raise the issue however :)

https://www.iana.org/assignments/jwt/jwt.xhtml#claims

"type" is not a reserved claim, in fact I found it hard to find (bit of a loaded keyword tho) any info about using "type" claim and could not find anything. Can it be made optional (setting perhaps?)

Copy link

@rhatch-kw rhatch-kw left a comment

Choose a reason for hiding this comment

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

This changes strikes me as a very good idea. I also have a need to validate JWT that does not originate from my app and therefore does not contain the type field in the payload.

@hampsterx
Copy link
Author

@IndominusByte any suggestion for better way to make "type" claim optional. Happy to update PR :)

@s3rius
Copy link

s3rius commented May 3, 2022

Hi, I've added more options to adjust type claims in #84.

@hampsterx hampsterx closed this by deleting the head repository Jul 26, 2025
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