-
Notifications
You must be signed in to change notification settings - Fork 926
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
Logout issue #68
Comments
Hi, Not sure if that is the same issue but having token in the header means that you are logged in when making api calls |
@breakingrobot Sorry for the delay, i'm running out of time to create code reproduction, because i'm using private API. I have switch to the previous version for the moment, i will open a new issue if i have the problem later with code reproduction if i have still the problem in the future. You can close this one |
I am having a similar issue, I don't think its anything to do with the header. My issue is I am referencing some auth state properties like, loggedIn, username, email, etc. On logout it shows property undefined. I think its something to do with the store being cleared before actually removing the token, or something similar so when the page goes to look for those properties again its undefined since the store doesn't exist. |
This should be reopened. Same issue as @Skylercrane23 |
This issue still exist today, even in Auth-next ! We are using Auth-Next with an OAuth2 scheme (Keycloak).
|
Hello,
When i'm on a page like /dashboard displaying information like
{{this.$store.state.auth.user.civlib}}
And if do a this.$auth.logout()
token localstorage is deleted , i'm redirected at the homepage ('/') but i have now an error displaying
Cannot read property 'civlib' of null
My opinion is something have changed from the logout endpoint, and it deletes first the store and after doing the logout. Maybe i'm doing it wrong
I'm coming from v3.4 , but i haven't this error before.
please need some help !
The text was updated successfully, but these errors were encountered: