0

I created an web api project with built in authentication (when I created it I checked the "with authentication" box) and now I want to make it more secure. Is there a way to integrate the jwt authentication with the already existing authentication created by the project? I added this in ConfigureServices method from Startup.cs:

services.AddAuthentication()
        .AddIdentityServerJwt();

I am very new to asp.net and jwt and I find it very hard to understand the processes.

  • See https://stackoverflow.com/questions/40281050/jwt-authentication-for-asp-net-web-api – Selim Yildiz Jun 02 '21 at 07:23
  • https://jasonwatmore.com/post/2019/10/11/aspnet-core-3-jwt-authentication-tutorial-with-example-api#:~:text=In%20the%20URL%20field%20enter%20the%20address%20to%20the%20users,into%20the%20%22Token%22%20field. – Nima Talebi Jun 02 '21 at 07:25

0 Answers0