Runtime: JwtBearerDefaults missing in NetCore 3.0

Created on 11 Nov 2019  路  3Comments  路  Source: dotnet/runtime

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?

Most helpful comment

All 3 comments

@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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

omajid picture omajid  路  3Comments

jamesqo picture jamesqo  路  3Comments

Timovzl picture Timovzl  路  3Comments

aggieben picture aggieben  路  3Comments

GitAntoinee picture GitAntoinee  路  3Comments