© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
How to sign out the user from server side - Better Auth
BA
Better Auth
•
12mo ago
•
1 reply
natnael
How to sign out the user from server side
I
'm using Next
.js
(App Router
) along with the
better-auth
better-auth
package to manage authentication sessions via cookies
.
I want to implement a logout functionality
from the server side
, where I remove the session cookie and redirect the user to the login page
.
Similar Threads
Server Side Sign Out
BA
Better Auth / help
14mo ago
How to revalidate session from the server side?
BA
Better Auth / help
4mo ago
how to list user organizations on server side?
BA
Better Auth / help
9mo ago