Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Azure Active Directory for Secure Application Development

You're reading from   Azure Active Directory for Secure Application Development Use modern authentication techniques to secure applications in Azure

Arrow left icon
Product type Paperback
Published in May 2022
Publisher Packt
ISBN-13 9781838646509
Length 268 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Sjoukje Zaal Sjoukje Zaal
Author Profile Icon Sjoukje Zaal
Sjoukje Zaal
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Part 1: Getting Started with the Microsoft Identity Platform
2. Chapter 1: Microsoft Identity Platform Overview FREE CHAPTER 3. Chapter 2: Azure AD Application Model 4. Chapter 3: Application Types and User Consent 5. Part 2: Authentication and Protocols
6. Chapter 4: The Basics and Evolution of Authentication 7. Chapter 5: Securing Applications with OAuth 2.0, OpenID Connect, and MSAL 8. Chapter 6:Building Secure Services Using the Microsoft Graph API 9. Part 3: Azure AD B2C
10. Chapter 7: Introducing Azure Active Directory B2C 11. Chapter 8: Advanced Features of Azure AD B2C 12. Chapter 9: Azure AD B2C Custom Policies 13. Other Books You May Enjoy

Securing your application using OAuth 2.0, OpenID Connect, and MSAL

In the previous sections of this chapter, we covered the different frameworks for authenticating your applications in depth. In this section, we are going to put this learning into practice. We are going to build an ASP.NET Core web application that is going to use OAuth 2.0, OpenID Connect, and MSAL to authenticate a user against Azure AD and call the Microsoft Graph API.

This demo is going to be divided into two parts. The first part is going to cover the OAuth 2.0, OpenID Connect, and MSAL aspects. The second part is going to focus 
on the Graph API. The second part is going to be covered in Chapter 6, Building Secure Services Using the Microsoft Graph API.

In the first section of this demo, we are going to register the necessary applications in Azure AD and set the required permissions. However, we are going to do this manually. Since we have already covered this part in previous chapters, there is...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime