I am using http header authentication and have configured the following section. The header is passed in from an Apache proxy server (which gets the authentication and authorization info from an SSO policy server) and working fine.
# SSO AUTHENTICATION
# Enable authentication using HTTP headers
sonar.web.sso.enable=true
# Name of the header to get the user login.
# Only alphanumeric, '.' and '@' characters are allowed
sonar.web.sso.loginHeader=uid
# Name of the header to get the user name
sonar.web.sso.nameHeader=name
# Name of the header to get the user email (optional)
sonar.web.sso.emailHeader=email
# Name of the header to get the list of user groups, separated by comma (optional).
# If the sonar.sso.groupsHeader is set, the user will belong to those groups if groups exist in SonarQube.
# If none of the provided groups exists in SonarQube, the user will only belong to the default group.
# Note that the default group will always be set.
sonar.web.sso.groupsHeader=X-Forwarded-Groups
Now my issue is how to configure the logout button to log user out. There is a specific URL I should use but I cannot find a place to change the logout URL in sonar. Right now it redirects to session/logout and no logout happens.