servant-auth
servant-auth copied to clipboard
How to "log out" a user authenticated using a cookie ?
I've successfully implemented logging in endpoint with servant. I've also created a React UI capable of receiving, storing and using the cookie to communicate with Servant server.
Now I'm wondering: how can I implement "log out" functionality ? Is there a way to invalidate the cookie on Servant side ?