# Bug OP-10502 - SSO logout URL is ignored since upgrade to OpenProject 12

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-10502

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 12.1.5 |
| Observed in versions | 12.1.0 |
| Sprint | 12.1.5 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 12.1.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

*Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:*

1.  Configure an LDAP server as authentication backend
2.  Configure a reverse proxy to manage the authentication of users (single-sign on, SSO) against the LDAP backend and add an SSO header to the requests to OpenProject
3.  Configure OpenProject to understand the SSO header using these variables

<!-- end list -->

  - OPENPROJECT\_AUTH\_\_SOURCE\_\_SSO\_HEADER
  - OPENPROJECT\_AUTH\_\_SOURCE\_\_SSO\_SECRET
  - OPENPROJECT\_AUTH\_\_SOURCE\_\_SSO\_LOGOUT\_\_URL

### What is the buggy behavior?

*Please describe the bug with as most details as possible. Example:*

  - OpenProject does never trigger a request to the logout URL. Thus, the user stays authenticated in the reverse proxy which still uses the old SSO header
  - In effect, the user cannot log out

### What is the expected behavior?

*Describe how the application should behave like. Example:*

1.  OpenProject logs out from the OP session and then triggers a request to the logout URL of the reverse proxy
2.  Request to the reverse proxy's logout URL terminates the SSO session
3.  User is succesfully logged out from OP and any other SSO service handled by the reverse proxy

### Important note

*Please note that unless you are a contributor to OpenProject, you can no longer edit this bug report after saving. You can still add new comments, but no longer add any new images or other attachments. Please make sure that all necessary information and attachments are added, and the following attributes are set:*

### **Logs**

*Are there errors in the browser console? (*[*Click here for information on how to open your browser's console*](https://webmasters.stackexchange.com/a/77337)*) For a local installation: Are there relevant logs output by* `_openproject logs_` *(packaged installation) (*[*click here for details*](https://docs.openproject.org/installation-and-operations/operation/monitoring/#show-logs)*) or in a log/production.log or /var/log/openproject/ ? Please attach error output in these log files if applicable*

### Screenshots and other files

*If you have screenshots of the application's bug behavior or other relevant files, please drag them into this place or attach them using the "Files" section.*

### Environment information

*Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs*

**OpenProject installation type**

- [ ] Hosted cloud edition
- [ ] Packaged installation
    - What distribution?
- [ ] Docker All-in-one container
- [ ] Docker-compose installation
- [x] Other (please specify: *multi-container installation in OpenShift/OKD based on the docker-compose installation*)

**OpenProject version**

*If you're not running on the cloud edition, please specify the version of OpenProject you're running. Example: v12.1.4*

Worked in any v11.x.y, fails to work since upgrade to v12.0.4. Stills fails after upgrade to v12.1.4.

**Browser**

*at least seen with*

- [x] Chrome
- [x] Firefox
- [ ] Safari
- [ ] Mobile Safari
- [ ] Other (please specify)

**Language**

*Please specify the browser language and the language of the OpenProject user for which the bug ocurred.*

German
