Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Is your feature request related to a problem? Please describe the problem.
When using the new dotnet user-jwts
tool, users may paste formatted date times in from other sources (e.g. decoding another existing JWT using something like jwt.io).
Describe the solution you'd like
To make copy-paste in these scenarios, supporting the "O"
format would make the tool more user-friendly.
The tool already supports 4 different possible formats:
It displays the values in "O"
format from the list command, so would support round-tripping when decoded.
aspnetcore/src/Tools/dotnet-user-jwts/src/Commands/ListCommand.cs
Lines 55 to 62 in 6b2e422
Additional context
See #41956 (comment).
/cc @DamianEdwards