Secure a .NET Core API with Bearer Authentication

Опубликовано: 12 Октябрь 2024
на канале: Les Jackson
191,090
5.5k

In this step by step tutorial, I show you how to secure a .NET Core API with JWT Bearer Authentication, using Azure Active Directory as the Identity and Access Management Layer. I also show you how to write a “secure” API client to call and authenticate to the secured API endpoint.
We use the Microsoft.Identity.Client and Microsoft.AspNetCore.Authentication.JwtBearer packages amongst others.

Level: Intermediate
Code on GitHub: https://github.com/binarythistle/S03E...

Companion Article: https://dotnetplaybook.com/secure-a-n...

My Book: https://www.apress.com/gp/book/978148...