Skip to content

sunilbandla/vue-msal-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.