/ASP.NET-Core-JWT-Token-Authentication

A prototype app that accepts a valid username and password, generates a JWT Token, and returns it. The token can be used in a separate API for authorization.

Primary LanguageC#Apache License 2.0Apache-2.0

ASP.NET Core JWT Token Authentication

There are two ASP.NET Core Web API apps. The user app accepts a valid username and password to generate a JWT Token. The token is returned to the user and can be used for authorization in the user app or the membership app.

How?

ASP.NET Core supports JWT Authentication out of the box and can be configured in Startup.cs. There is also some library support for generating the JWT token, which is found in JWTTokenManager.