Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to sign out the user from server side - Better Auth
BA
Better Auth
•
10mo 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
.
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Server Side Sign Out
BA
Better Auth / help
12mo ago
How to revalidate session from the server side?
BA
Better Auth / help
3mo ago
how to list user organizations on server side?
BA
Better Auth / help
8mo ago