active-directory-b2c-javascript-msal-singlepageapp icon indicating copy to clipboard operation
active-directory-b2c-javascript-msal-singlepageapp copied to clipboard

A single page application (SPA) calling a Web API. Authentication is done with Azure AD B2C by leveraging MSAL.js

JavaScript Single-Page Application built secured with MSAL.js on Azure AD B2C

There's a newer version of this sample taking advantage of MSAL.js v2.

Check it out: JavaScript SPA secured with MSAL.js using Authorization Code Flow (w/ PKCE) on Azure AD B2C

If you really need to access this sample, you can navigate to the master branch, but please know that it's no longer maintained.