Replies: 2 comments 2 replies
-
Yes this is an intended behaviour. Your token indicates an extension (crit) and it's corresponding header parameter is not found. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for the reply. I got confused because the RFC states that
So to make it work with jose I have to explicitly set the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
Looking at rfc7797 I should be able to use a JWT token that has a header with
"crit": [ "b64" ]
and"b64": true
. The"b64": true
bit is deleted from headers in pyjwt so the header is left only with thecrit
field.The problem I see with
jose
is that if we usejwtVerify
then at no pointvalidateCrit
getsb64
injoseHeader
causing the following error:Is this intended behaviour? What am I doing wrong here? 😅
Beta Was this translation helpful? Give feedback.
All reactions