Yogi

Yogi

  • 1.6k
  • 19
  • 501

Authorization and Authentication using jwt

Jan 6 2024 2:40 AM

This is a question in regards to the article posted in /article/authentication-and-authorization-in-net-8-web-api/ .

I was able to issue and read jwt using .CreateToken and .ReadJwtToken from System.IdentityModel.Tokens.Jwt and not use Microsoft.AspNetCore.Authentication.JwtBearer at all. 

Does anyone know why this article suggests that we use Microsoft.AspNetCore.Authentication.JwtBearer? 

 


Answers (6)