Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessing msal in vuex store #34

Open
AntoineBarroux opened this issue Jul 31, 2020 · 2 comments
Open

Accessing msal in vuex store #34

AntoineBarroux opened this issue Jul 31, 2020 · 2 comments

Comments

@AntoineBarroux
Copy link

Hey, i wanted to know if there was a way to access the $msal object outside a Vue component, like in a vuex store for example.
For information, i'm not using Nuxt so this part of documentation won't help me !
Thank you for your work and i hope you will be able to help me with this !

Have a good day

@swc
Copy link

swc commented Mar 1, 2021

Late reply, but for anyone looking to access $msal from Vuex:

this._vm.$msal

@dgundi
Copy link

dgundi commented Sep 3, 2021

This didn't work for me. Could you tell me how you are including msal. Importing in store? any mixin?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants