signout from server in next js 13
can anyone tell me how can i signout from server in next auth?
signOut() is not working
and below code is also not working(i am using this inside server action
4 Replies
set it's expiry to an old timestamp (as old as yesterday or older, like 1970-01-01) as well so it expires
Functions: cookies
API Reference for the cookies function.
read the docs ^
thank you it start working