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
The new docs don't mention anything related to updating sessions, the only reference is the UpdateSession() from auth/react.
auth/react exports the useSession hook, which contains the update function, which in previous versions caused the update trigger to be available in the jwt callbacks, however, nothing is sent in V5.
Is the update function in useSession still accurate?
Tbh, its unbelievable how frustrating it is to work with auth.js. I mean, every single thing requires hours of research only to find out the issue is either related to bugs or inaccurate documentation.
I get it, V5 is in beta, but isn't updating the session one of the core elements of authentication?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
How on earth do we update a session in V5?
The new docs don't mention anything related to updating sessions, the only reference is the UpdateSession() from auth/react.
auth/react exports the
useSession
hook, which contains theupdate
function, which in previous versions caused theupdate
trigger to be available in the jwt callbacks, however, nothing is sent in V5.Is the update function in useSession still accurate?
Tbh, its unbelievable how frustrating it is to work with auth.js. I mean, every single thing requires hours of research only to find out the issue is either related to bugs or inaccurate documentation.
I get it, V5 is in beta, but isn't updating the session one of the core elements of authentication?
Beta Was this translation helpful? Give feedback.
All reactions