Handle Partial JWT Tokens #1032
Labels
enhancement
Idea of improvement of existing feature.
under consideration
We like the idea / feedback but don't commit to it yet.
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:
The text was updated successfully, but these errors were encountered: