Skip to content

fix(cli): prompt for fresh OIDC login after logout - #2773

Open
grs wants to merge 1 commit into
NVIDIA:mainfrom
grs:logout-fix
Open

fix(cli): prompt for fresh OIDC login after logout#2773
grs wants to merge 1 commit into
NVIDIA:mainfrom
grs:logout-fix

Conversation

@grs

@grs grs commented Aug 17, 2026

Copy link
Copy Markdown

Summary

Fix OIDC logout/login behavior so openshell gateway logout causes the next browser-based openshell gateway login to request a fresh identity-provider prompt. This lets users switch browser identities instead of silently reusing the previous SSO session.

Related Issue

Changes

  • Added a per-gateway one-shot marker requesting prompt=login after OIDC logout.
  • Cleared the marker after a successful token store or gateway registration removal.
  • Updated the browser OIDC auth flow to append prompt=login when the marker is present.
  • Updated CLI help text and gateway auth docs to describe the fresh-login behavior.
  • Added unit coverage for marker lifecycle and authorization URL parameters.

Testing

  • mise run pre-commit passes
  • Unit tests added/updated
  • E2E tests added/updated (if applicable)
  • Manual testing

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Architecture docs updated (if applicable)

Signed-off-by: Gordon Sim <gsim@redhat.com>
@grs
grs requested review from a team, derekwaynecarr, mrunalp and sjenning as code owners August 17, 2026 11:20
@copy-pr-bot

copy-pr-bot Bot commented Aug 17, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant