mvertopoulos / vue-msal

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

requireAuthOnInitialize: false doesn't work #42

Open gunhaxxor opened 3 years ago

gunhaxxor commented 3 years ago

requireAuthOnInitialize: false Doesn't seem to work. A redirect get's retriggered even though i have set the setting to false.

gunhaxxor commented 3 years ago

Hmm. Seems to not be related to requireAuthOnInitialize, but rather main.ts identifying isAuthenticated() as true (and thus triggers acquireToken which fails to do it silently and then triggers redirect token acquire). Even though I've cleared all the site data. Where does it get that data? It doesn't happen when I run it in an incognito window 🤔