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
[Root cause]
I believe this a side effect from #2555 to cache token for 10 mins.
[Reproduce]
Log in user A and log out then log in user B right after, getCurrentUser returns user A metadata instead since user A's token is cached, reload the page fix this issue.
[Context]
authentication, magic.link
[Root cause]
I believe this a side effect from #2555 to cache
token
for 10 mins.[Reproduce]
Log in user A and log out then log in user B right after,
getCurrentUser
returns user A metadata instead since user A's token is cached, reload the page fix this issue.[Solution]
Purge cached
token
inlogout
functionThe text was updated successfully, but these errors were encountered: