Replies: 1 comment
-
I can't guarantee this solution will work, but I found this in my search as well. I haven't had a chance to test it yet, since I moved to clerk. Try this, and let me know if it works :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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