Skip to content

Instantly share code, notes, and snippets.

View taylorhutchison's full-sized avatar
💭
Working on the Geode library

Taylor Hutchison taylorhutchison

💭
Working on the Geode library
View GitHub Profile
@taylorhutchison
taylorhutchison / ADAL_with_vanilla_JS.md
Created April 29, 2021 21:13 — forked from psignoret/ADAL_with_vanilla_JS.md
Minimal sample app using ADAL.JS and vanilla JavaScript

Using ADAL.JS with vanilla JavaScript

A minimal sample app using ADAL.JS and plain old vanilla JavaScript to obtain an access token from Azure Active Directory and use that access token to make an API request. In this case, the API we're requesting a token for is the Microsoft Graph API, which is used to retrieve the signed-in user's basic profile.

You can see (and test) this live at: https://bl.ocks.org/psignoret/raw/50e88652ae5cb6cc157c09857e3ba87f/