Public
Edited
May 26, 2023
Insert cell
Insert cell
Insert cell
msal = require(`https://alcdn.msauth.net/browser/${version}/js/msal-browser.min.js`)
Insert cell
msalConfig = ({
auth: {
clientId: "ce1c7a59-5e93-48ae-9079-a300890688bb" //"d08ef763-91e6-40c9-9eeb-28f0c71598d0"
}
})
Insert cell
msalInstance = new msal.PublicClientApplication(msalConfig)
Insert cell
msalInstance
Insert cell
result = msalInstance.loginPopup({
redirectUri: "https://observablehq.com/d/bcb377f6630e5ea2", //"https://observablehq.com/d/1e7e6a880bcd0f42",
prompt: "select_account"
})
Insert cell
msalInstance.loginPopup.toString()
Insert cell
`${msalInstance.acquireTokenPopup}`
Insert cell

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more