[Identity] Support generating user tokens outside of web applications #57947
Labels
area-identity
Includes: Identity and providers
✔️ Resolution: Won't Fix
Resolved because we decided not to change the behavior reported in this issue.
Status: Resolved
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
I am trying to generate password reset tokens from a console application, but that isn't currently possible because
AddDefaultTokenProviders
and related machinery likeDataProtectorTokenProvider
isn't available in a NuGet package, only in the ASP.NET app framework.Describe the solution you'd like
I'd like
AddDefaultTokenProviders
to work withAddIdentityCore
, e.g.Additional context
There are already NuGet packages for the data protection APIs - I believe it's just the token machinery that can't be accessed from a NuGet package.
The text was updated successfully, but these errors were encountered: