DeviceFarmer / stf

Control and manage Android devices from your browser.
https://devicefarmer.github.io
Other
3.5k stars 492 forks source link

Unable to Logout in STF Frontend after Integration with Keycloak OAuth 2.0 #750

Open yunki-cmd opened 9 months ago

yunki-cmd commented 9 months ago

When attempting to log out in the STF frontend after integrating the system with Keycloak OAuth 2.0, an issue arises. Despite being redirected to the home URL after attempting to log out, the session does not close correctly, and the user is returned to the home screen instead of being completely disconnected.

STF Version: master/last_version Keycloak Version: 11.0.2 Keycloak Configuration: Client Created: (Name of the client created in Keycloak) Protocol: OpenID Connect Access Type: Confidential Valid Redirect URIs: domain/* Base URL: damain

Manually deleting cookies results in the expected logout behavior, but logout does not work as expected when performed through the STF frontend.

edit: Without being an admin and with any user, even if the cookies are deleted, upon refreshing, the auto login takes place.

brave_eHGHok5yXM
denis99999 commented 9 months ago

@yunki-cmd , your issue should fixed by #752 , let me know if it is well the case?

yunki-cmd commented 9 months ago

@yunki-cmd , your issue should fixed by #752 , let me know if it is well the case?

thanks. Waiting for the Docker image to test if the issue is fixed.