O'Reilly logo

Modern Authentication with Azure Active Directory for Web Applications by Vittorio Bertocci

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Consuming and exposing a web API protected by Azure Active Directory

The emphasis on API-centric scenarios is probably the characteristic that most of all sets modern authentication apart from classic federation approaches that focus on single sign-on.

The first part of this chapter explores what it takes for one app to gain access to a web API protected by Azure AD. I will explore the phases of the OpenID Connect hybrid flow that come after the authentication phase, picking up the discussion about OAuth2 where I left it back in Chapter 2, "Identity protocols and application types," and filling in the remaining details. In the code samples, you’ll learn how to use ASP.NET OWIN middleware and the Active Directory Authentication Library ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required