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.
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.