ASP.NET Core JWT Authentication and Authorization

💻 Get the source code: https://go.dotnetacademy.io/howtoprot... 🧩 Free .NET Backend Template: https://juliocasal.com/blueprint?utm_... 🔥 Become a .NET Backend Developer: https://juliocasal.com/courses/dotnet... A solid REST API should make sure that its resources are protected so that only authorized users and clients can get access to them. And thanks to the latest innovations in ASP.NET Core, protecting your Web API could not be easier. Here I'll show you how to protect your ASP.NET Core Web API in just a few steps. Topics covered: 00:28 Understanding Token-Based Authentication 01:56 Creating a simple minimal API 08:13 Using JWT authentication and requiring authorization 13:02 Generating tokens with dotnet user-jwts 14:50 Understanding Json Web Tokens (JWT) 21:42 Implementing role based authorization 24:43 Extracting user information via ClaimsPrincipal 33:03 Evaluating user claims Follow me on LinkedIn:   / juliocasal   Follow me on X: https://x.com/julioc #dotnet #aspnetcore #aspnet

JWT Authentication with .NET 9 🚀 Full Course with Roles, JSON Web Tokens & Refresh Tokens
▶︎

JWT Authentication with .NET 9 🚀 Full Course with Roles, JSON Web Tokens & Refresh Tokens

ASP.NET Core API Authentication with Keycloak
▶︎

ASP.NET Core API Authentication with Keycloak

Microsoft Agent Framework: Agent Session Explained
▶︎

Microsoft Agent Framework: Agent Session Explained

7 Authentication Concepts Every Developer Should Know
▶︎

7 Authentication Concepts Every Developer Should Know

JWT AUTHENTICATION In ASP NET Core with Azure AD | Getting Started With ASP.NET Core Series
▶︎

JWT AUTHENTICATION In ASP NET Core with Azure AD | Getting Started With ASP.NET Core Series

Belajar .NET EP02: .NET bisa bikin aplikasi apa aja?
▶︎

Belajar .NET EP02: .NET bisa bikin aplikasi apa aja?

ASP.NET Core Authentication with Microsoft Entra ID
▶︎

ASP.NET Core Authentication with Microsoft Entra ID

Implementing JWT Authentication in ASP.NET Core
▶︎

Implementing JWT Authentication in ASP.NET Core

Reverse Proxy vs Load Balancer vs API Gateway: The Real Difference ?
▶︎

Reverse Proxy vs Load Balancer vs API Gateway: The Real Difference ?

Clean Architecture with ASP.NET Core 10
▶︎

Clean Architecture with ASP.NET Core 10

Create Asp.Net Core Web API With JWT Role Based Authorization Using Identity Framework From Scratch
▶︎

Create Asp.Net Core Web API With JWT Role Based Authorization Using Identity Framework From Scratch

ASP.NET Core Full Course For Beginners (.NET 10)
▶︎

ASP.NET Core Full Course For Beginners (.NET 10)

Authenticating Web API Using ASP .Net Identity and JSON Web Tokens (JWT)
▶︎

Authenticating Web API Using ASP .Net Identity and JSON Web Tokens (JWT)

Secure a .NET Core API with Bearer Authentication
▶︎

Secure a .NET Core API with Bearer Authentication

Token Authentication In ASP.NET Core 7 With JWT  | Clean Architecture [.NET 8 & .NET 9]
▶︎

Token Authentication In ASP.NET Core 7 With JWT | Clean Architecture [.NET 8 & .NET 9]

.NET Web Developer 2026 Roadmap - Brutally Honest Edition
▶︎

.NET Web Developer 2026 Roadmap - Brutally Honest Edition

Keynote: After the AI Hype – What’s Real, and What’s Next - Richard Campbell - 2026
▶︎

Keynote: After the AI Hype – What’s Real, and What’s Next - Richard Campbell - 2026

Learn Dependency Injection in less than 20 minutes! - C# DI - #csharp #dependencyinjection #net
▶︎

Learn Dependency Injection in less than 20 minutes! - C# DI - #csharp #dependencyinjection #net

Complete Guide to ASP.NET Core Identity - Authentication and Authorization (2022)
▶︎

Complete Guide to ASP.NET Core Identity - Authentication and Authorization (2022)

Andrej Karpathy: From Vibe Coding to Agentic Engineering w/ Stephanie Zhan
▶︎

Andrej Karpathy: From Vibe Coding to Agentic Engineering w/ Stephanie Zhan