fastapi-jwt-auth icon indicating copy to clipboard operation
fastapi-jwt-auth copied to clipboard

make type claim optional

Open hampsterx opened this issue 4 years ago • 2 comments
trafficstars

#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?)

hampsterx avatar May 25 '21 22:05 hampsterx

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

hampsterx avatar Feb 22 '22 18:02 hampsterx

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

s3rius avatar May 03 '22 09:05 s3rius