# Bug OP-14157 - OIDC backchannel logout broken as retained session values are not available in the user_logged_in_hook

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 13.2.1 |
| Observed in versions | 13.1.0 |
| Sprint | 13.2.1 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 13.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

### Before filing a report

_Before you file a report, please ensure you are running the latest version of OpenProject and_   
_have searched for similar bug reports._

### 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.  Have an OIDC e.g., keycloak setup with backchannel logouts enabled
2.  Log in with the user
3.  Log out the user through keycloak

### What is the buggy behavior?

_Please describe the bug in as much detail as possible. Example:_

*   No mapped session from OIDC sid exists
*   The session value is not correctly retained in the Users::LoginService

### What is the expected behavior?

_Describe how the application should behave like. Example:_

1.  The user session should be terminated
