Authenticate users in a Node web app by using Azure Active Directory B2C

Intermediate
Developer
Solution Architect
Active Directory External Identities
Microsoft Authentication Library for Node

Create a Node web app and configure it to authenticate users. When users sign in, the web app delegates the authentication task to the customer identity service.

Learning objectives

By the end of this module, you'll be able to:

  • Prepare Azure AD B2C to authenticate users in a web app.
  • Configure authentication in a Node web app by using Azure AD B2C.
  • Run and test the Node web app.

Prerequisites

  • An Azure account with an active subscription.
  • Familiarity with identity concepts such as authentication, security tokens and OpenID Connect protocol at beginner level.
  • Ability to navigate the Azure portal such as searching resources, switching between directories and reading directory name.
  • An Azure Active Directory B2C (Azure AD B2C) tenant that you manage as a Global administrator.
  • Ability to write code in JavaScript/Node at beginner level.
  • Must have Node.js and Visual Studio Code installed on your computer.