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

Customizing the UI

To create a seamless user experience in your custom websites or applications, you may want to customize the UI of the authentication experiences in Azure AD B2C. In the previous demonstrations, we used the default UI provided by Azure AD B2C; you can customize this by creating your own HTML and CSS pages and referring to them from the user flows that you have configured for your applications.

You can create these pages using your own branding. These pages can be built using static HTML files, but you can also use .NET, PHP, or Node.js files. The only requirement for Azure AD B2C is that it contains a div element, with id set to api. Azure AD B2C needs that div element to know where it needs to inject the code for the user flows.

The following code is an example of a very basic HTML file with the div element added to it:

<!DOCTYPE html>
<html>
<head>
    <title>My website</title>
</head>
<body&gt...
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