How to manually invalidate session data?

I'm using Next.js and next-safe-action and auth.$context.internalAdapter. After that, how do we invalidate the session data/cache?
Solution
Fixed by using auth.api.updateUser and nextCookies() plugin
Was this page helpful?