Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to manually invalidate session data? - Better Auth
BA
Better Auth
•
12mo ago
•
5 replies
Nelson Lai
How to manually invalidate session data?
I
'm using Next
.js and next
-safe
-action and
auth.$context.internalAdapter
auth.$context.internalAdapter
. After that
, how do we invalidate the session data
/cache
?
Solution
Fixed by using
auth.api.updateUser
auth.api.updateUser
and
nextCookies()
nextCookies()
plugin
Jump to solution
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How to manually create a session cookie
BA
Better Auth / help
3mo ago
Create Session Manually
BA
Better Auth / help
7mo ago
Update session manually
BA
Better Auth / help
12mo ago
Manually create a session
BA
Better Auth / help
11mo ago