mvertopoulos / vue-msal

Vue plugin for using Microsoft Authentication Library (MSAL)
MIT License
123 stars 66 forks source link

AuthenticationFlow does not start #47

Open michaelLoeffelmann opened 3 years ago

michaelLoeffelmann commented 3 years ago

When storeAuthStateInCookie is enabled and i closed the application for round about 1 hour, it sometimes happens that the authentication flow does not start. When i call this.$msal.isAuthenticated() in the mounted hook of my application, it returns true, but when i take a look to the this.$msal.data the idToken is empty and accessToken is invalid.

The only way to bring my application back working is to clear all cookies and local storage.

Is there somebody who has the same issues?