- CoreUI Template
- MSAL for JS
- Stack Overflow thread on the integration
- Sunil Bandla's previous example
One time fork of a cleaned project I was working on to help everyone who has been cursing on getting the integration working like me. ;-)
- src/main.js
- msal/*
- config/*
- router/*
- containers/DefaultHeaderDropdownAccnt.vue
- views/auth/*
Browsing to URI/auth/test will give you an isolated testing page
The header will provide you with a typical flow on how to do a login (redirect method) and logout (redirect to home page)
As the Stack Overflow thread states... Sharing the data/objects across components isn't always easy (understatement). Leveraging the vue root/parent/base instance itself was key to getting everything working. In essence it's providing a wrapper class for the library and initilizing it on the root/parent/base instance.