Open DamianEdwards opened 1 year ago
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
We've added support to ASP.NET Core Identity in .NET 8 for included API endpoints that can issue authentication cookies or tokens. The
dotnet user-jwts
tool we added in .NET 7 should be updated to support this new token format so that it's simple to create authentication tokens that are stored in the project's user secrets location and be used in local dev scenarios.Work required:
dotnet user-tokens
so that bothuser-jwts
anduser-tokens
are supported command invocations--format
parameter to thecreate
command that acceptsjwt
andtoken
options, defaulting tojwt
to maintain backwards compatibility with the existing behavior.Open questions:
--format
parameter accept acookie
value to enable creating valid Identity cookies?create
don't apply when--format token
is specified, e.g.--issuer
? The tool should fail and display a helpful error message if those are specified when using--format token
create
for customizing the creation of tokens in the new format?