active-directory-javascript-graphapi-v2 icon indicating copy to clipboard operation
active-directory-javascript-graphapi-v2 copied to clipboard

A simple JavaScript single page application calling the Microsoft Graph using msal.js (Azure AD V2 endpoint)

MSAL JavaScript Single-page Application using Implicit Flow

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

Check it out: Vanilla JavaScript single-page application secured with MSAL.js

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