Published On Jun 23, 2023
RESTful web services need securing just as much as any other web site. Here's a first look at how we can use JSON Web Tokens (JWTs) to secure ASP.NET Web API applications.
Source code available at: https://github.com/JasperKent/WebApi-...
Topics include:
- Deriving custom C# user classes from IdentityUser
- Adding security tables to an existing database with EF migrations
- Registering new users via the API
- Configuring your site for JWTs
- Using a secret to encrypt
- Returning a JWT from a successful login
- Analysing a JWT
show more