Skip to content

mrtkprc/jwt-authentication-in-dotnet-5

Repository files navigation

jwt-authentication-in-dotnet-5

JWT Authentication for .NET 5 REST APIs (Bearer Token)

dotnet new webapi -o .

dotnet new sln -o . -n JWT

dotnet sln add .\jwt-authentication-in-dotnet-5.csproj

import Nuget Package called Microsoft.IdentityModel.Tokens

import Nuget Package called System.IdentityModel.Tokens.Jwt

Add field to "Headers"

Authorization: Bearer

About

JWT Authentication for .NET 5 REST APIs (Bearer Token)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages