For Authentication I am currently using services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)..
I am looking into using 3.0 but JwtBearerDefaults is not available. How can I do it in 3.0?
Did you install Microsoft.AspNetCore.Authentication.JwtBearer?
@Tratcher - ASP.NET Core issue.
@Joe4evr You are right. I did not install that package. I use Mac and Rider last version but I did not find that nuget package so by installing it using the terminal worked.
So maybe the package is not available through search or not sure but now it works.
Thanks!
Most helpful comment
Did you install Microsoft.AspNetCore.Authentication.JwtBearer?