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
Originally posted by miguelakira October 26, 2023
I tried using updateSession to update the session with an arbitrary data. It works, but when I call the session object again somewhere else, it no longer contains the updated data.
I had the same problem, I think it's because only the store is updated and after making any other actions the Auth session callback updates the session store from the cookies.
Discussed in #123
Originally posted by miguelakira October 26, 2023
I tried using
updateSession
to update the session with an arbitrary data. It works, but when I call the session object again somewhere else, it no longer contains the updated data.and somewhere else,
const { session } = useAuth()
will give me the session without newDataThe text was updated successfully, but these errors were encountered: