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
Describe the bug
Having 2 or more browser tabs opened, logging out form one of them, is removing the user object form the browser local storage. That's good, but...
When going back to the other opened tab, running the same webAPP, and calling auth.currentUser(), the function is returning the user data, for the logged out user.
The expected behavior would be gotrue-js to fetch the browser local storage, looking up for the user object, instead of returning data directly from the state store ( local vars).
To Reproduce
Login in Gotrue-js
open another browser tab running the same webapp
Logout in one browser tab
Go to the ohter tab and call auth.currentUser()
User data is returned, despite of the user having logged out before and the user object, having been removed from the browser local storage.
This is happening with a webAPP (vue.js) running in Chrome.
Remember me param/setting set to true.
The text was updated successfully, but these errors were encountered:
Describe the bug
Having 2 or more browser tabs opened, logging out form one of them, is removing the user object form the browser local storage. That's good, but...
When going back to the other opened tab, running the same webAPP, and calling auth.currentUser(), the function is returning the user data, for the logged out user.
The expected behavior would be gotrue-js to fetch the browser local storage, looking up for the user object, instead of returning data directly from the state store ( local vars).
To Reproduce
This is happening with a webAPP (vue.js) running in Chrome.
Remember me param/setting set to true.
The text was updated successfully, but these errors were encountered: