You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The command line interface of jwt-cli alows the typ header field to be specified. The only value it accepts is JWT, though.
There are specifications that recommend or require the typ header field to be something other than JWT. For testing and debugging things using these tokens it would be convenient if jwt-cli allowed the typ header value to be set to a custom value.
Thanks for the suggestion @errhammr! Unfortunately jsonwebtokenforces the value to be JWT. It would have to be fixed there before I could change it in this tool
Summary
The command line interface of jwt-cli alows the
typ
header field to be specified. The only value it accepts isJWT
, though.There are specifications that recommend or require the
typ
header field to be something other thanJWT
. For testing and debugging things using these tokens it would be convenient if jwt-cli allowed thetyp
header value to be set to a custom value.Examples:
Steps to reproduce
Expected behavior
jwt-cli emits a JWT with the
typ
header field containing the value given in the--typ
command line argument.The text was updated successfully, but these errors were encountered: