Open x2764tech opened 7 months ago
Hi, thanks for sharing this feedback, @btiteux , do you think this is something that is common enough that we would want to support in DevToys? Probably not in the initial 2.0 release but later.
Sounds tricky to implement. Let's wait to see if people upvote this issue.
What improvement do you think would an existing feature or tool in DevToys?
In some cases, my tooling records JWT tokens without the signature part.
Some other tools (1, 2) handle this with a warning, and it would be nice if DevToys could do the same
Solution/Idea
The current implementation uses JwtSecurityTokenHandler, which requires the token have 2 or 3 dots.
It would require writing a parser to handle partial tokens.
Comments
You can easily recreate this by stripping the last part of the token (from the last period onward).
Here's one from our dev environment that I've been struggling with: