Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1772026 - Token does not expire on logout
Summary: Token does not expire on logout
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Authentication
Version: 6.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.7.0
Assignee: Rahul Bajaj
QA Contact: Nikhil Kathole
URL:
Whiteboard:
Depends On: 1792135 1792140
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-13 13:32 UTC by Nikhil Kathole
Modified: 2020-03-05 10:04 UTC (History)
6 users (show)

Fixed In Version: foreman-1.24.1-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-03 10:41:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 28087 0 Normal Closed Token does not expire on logout 2020-12-10 11:52:58 UTC

Description Nikhil Kathole 2019-11-13 13:32:32 UTC
Description of problem:

Since we use `reset_oidc_session` method now, there is no way that the session will be able to logout of the Foreman.
The session only logout now when the token expires. We need to handle the logout for SSO mechanisms.

Version-Release number of selected component (if applicable):

Satellite 6.7.0 snap 1

How reproducible: always

Steps to Reproduce:
1)Setup RHSSO (keycloak) with satellite 
2) Login via SSO
2) Try to logout.

Actual results:
Session continues.logout doesn't work.

Expected results:
Should logout.

Additional info:

Comment 3 Bryan Kearney 2019-11-13 15:05:37 UTC
Upstream bug assigned to rabajaj

Comment 4 Rahul Bajaj 2019-12-12 15:31:14 UTC
Hello,

Actively working PR can be found here: https://github.com/theforeman/foreman/pull/7245
Logout is working just fine, although a new setting is introduced in the process.

Thanks,

Comment 5 Bryan Kearney 2020-01-09 15:05:23 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/28087 has been resolved.

Comment 6 Nikhil Kathole 2020-01-17 07:05:32 UTC
Version tested:
Satellite 6.7 snap 8

Currently the fix of this bugzilla only provides logout URL for OpenID connect users but didn't resolve actual issue. So I have raised the issue explicitly that needs to be handle and blocking verification of this till the fix of https://bugzilla.redhat.com/show_bug.cgi?id=1792135, https://bugzilla.redhat.com/show_bug.cgi?id=1792140

Comment 8 Rahul Bajaj 2020-03-03 10:41:17 UTC
Hello,

Token must not expire on logout as decided. Since we are looking at an SSO functionality, the token will only expire on session expiration. This will be considered as WONTFIX. Closing this issue for now, feel free to open if you fell otherwise.

Thanks,

Comment 9 Rahul Bajaj 2020-03-05 10:04:50 UTC
Clearing out the needinfo as well.


Note You need to log in before you can comment on or make changes to this bug.