casual-simulation / casualos

Casual Open Simulation for the Web
https://ab1.bot
MIT License
48 stars 8 forks source link

Ping the Privo `/logout` API when a user attempts to log out #494

Closed KallynGowdy closed 3 days ago

KallynGowdy commented 1 week ago

Currently, when a user logs out, their session is revoked and deleted from their device. Privo, however, uses a separate session tracking mechanism and doesn't know about when the user wants to log out. Privo has an API that is able to log a user out, but CasualOS is currently not using this API. This issue tracks work towards getting CasualOS to call the Privo /logout endpoint to log a user out and prompt re-authentication on the next login.

KallynGowdy commented 3 days ago

Implemented in 91427957d7dc54a5931c78633fa6d787012fcc60