YUNOVA · C# · Module 14: Building and shipping .NET apps
JWT authentication in ASP.NET Core
JWT authentication in ASP.NET Core
Key points
- A JWT carries signed claims about the user.
- AddAuthentication().AddJwtBearer validates incoming tokens.
- [Authorize] protects endpoints that need a valid token.