Click here to Skip to main content
15,891,708 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Assume I already have a user data store that I am happy with (Usernames, Hashed passwords, etc ...) and all I want to add is the ability to issue and process JWT tokens and refresh tokens. What would be the minimal NuGet packages that would be needed?

I realize ASP Identity is a proven system, I would just like to figure out what is needed to issue OAuth 2.0 JWT tokens using Microsoft's NuGet packages. Assume that I already have the code to properly validate a username and password and I can determine validated or not validated.

What I have tried:

Many examples list these NuGet packages ...

Microsoft.Owin
Microsoft.Owin.Host.SystemWeb
Microsoft.Owin.Security.OAuth
Microsoft ASP.NET Identity Owin

Yet I am not sure why "Microsoft ASP.NET Identity Owin" is needed if ASP.NET Identity is not being used.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900