Identify users and their permissions with JWTs and ASP.NET Core WebAPI

added by DotNetKicks
3/1/2018 4:59:42 PM

2 Kicks, 178 Views

When you use JWTs (Json Web Tokens) to secure your ASP.NET Core Web API you can restrict parts of your API to authenticated users (by requiring a valid JWT for certain requests). In the last post we saw how to block unauthorised users from accessing your API actions and conversely how to let authenticated users through.