Skip to content

hifni/SampleJWTAuthMvcCoreWebAPI

Repository files navigation

Sample Web API using JWT Beaer Token as Authentication

This app shows how can we have a JWT Bearer Token used for Authentication. By default, the Token expiry is 5 minuutes which can be extended further.

Source: https://www.blinkingcaret.com/2017/09/06/secure-web-api-in-asp-net-core/

Nuget Required:

System.IdentityModel.Tokens.Jwt

Used:

  1. ASP.NET Core 2.1
  2. Visual Studio 2017 Pro
  3. GitHub

Upgraded to ASP.NET Core 3.1

I have upgraded to ASP.NET Core 3.1 and working solution is attached in the branch aspnetcore3_1

Source: https://jasonwatmore.com/post/2019/10/11/aspnet-core-3-jwt-authentication-tutorial-with-example-api

About

The Use of JWT Tokens for Authentication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages