MSAL.js (Microsoft Authentication Library for Javascript) + Vue.js Sample

  • Uses MSAL.js to add a Sign in with Microsoft button
  • Calls Microsoft Graph API by passing a token obtained via MSAL

How to add MSAL.js to a simple Vue.js app

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

For detailed explanation on how things work, consult the docs for vue-loader.

Vue Msal Sample

Vue.js sample app with MSAL.js

Vue Msal Sample Info

⭐ Stars 51
🔗 Homepage
🔗 Source Code
🕒 Last Update 10 months ago
🕒 Created 4 years ago
🐞 Open Issues 3
➗ Star-Issue Ratio 17
😎 Author sunilbandla