You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but I guess vuex-oidc doesn't provide that or is it possible? In short, I want to enable/disable this event (for example, in offline I can disable it and enable if app is online).
This part of code doesn't work as I guessed because unsetOidcAuth is invoked always.
accessTokenExpired: ()=>{
...something},
What am I doing wrong?
The text was updated successfully, but these errors were encountered:
I think this I this should only have removed the access token from the store rather than the whole profile - since the event is thrown when the access token expires.
Even if the id token is expired I think you still are allowed to use the information in it as long as it was valid when the client received it. 🧐
I think I will change this soon, let me just look into it a bit more first!
@alexdeia as of v3.11.0 there is a new storeSetting attribute called removeUserWhenTokensExpire that is set to true by default. If you set it to false I think you will get the behaviour you want!
Hi. I need to keep profile data in oidcStore.profile (like firstname, lastname, etc), but removing invokes after accessTokenExpiring event.
I found this row and I tried to disable this:
vuex-oidc/src/store/create-store-module.js
Line 290 in 3afe5f1
but I guess vuex-oidc doesn't provide that or is it possible? In short, I want to enable/disable this event (for example, in offline I can disable it and enable if app is online).
This part of code doesn't work as I guessed because unsetOidcAuth is invoked always.
What am I doing wrong?
The text was updated successfully, but these errors were encountered: