Breadcrumbs

Log out on censhare web doesn't work

\uD83E\uDD14 Problem

On censhare web, clicking on the “Log Out” button from the user menu (upper-right corner) results in the username changing to “User” and the session appears to still be logged in for several minutes.


Screenshot 2024-12-02 at 19.45.45.png
Screenshot 2024-12-02 at 19.46.32.png



\uD83C\uDF31 Solution

On censhare versions working with the Cloud Gateway this problem is usually caused by a misconfiguration of the logout URL parameter, as this parameter should use http instead of https:

  1. Open the core-cloud-gateway/application.yml file on your host

  2. Make sure that the cg.censhareLogoutUrl is set to http instead of https:

http://CENSHARE-SERVER-HOST:PORT/forward/rest/service/webserver/rest/csLogout


For a full description on how to configure the session handling on the Cloud Gateway please see our documentation here.