Skip to content

Conversation

jimtoniq
Copy link
Contributor

As found in #7092 with non-oidc logins, the configured --rootpath value is used as Cookie-Path which stores the current token.
When invalidating the token after logout, the cookie-path from --basehref is used, which is part of the bugfix in #7092.

Note on DCO:

If the DCO action in the integration test fails, one or more of your commits are not signed off. Please click on the Details link next to the DCO action for instructions on how to resolve this.

Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this does not need to be in the release notes.
  • The title of the PR states what changed and the related issues number (used for the release note).
  • I've included "Closes [ISSUE #]" or "Fixes [ISSUE #]" in the description to automatically close the associated issue.
  • I've updated both the CLI and UI to expose my feature, or I plan to submit a second PR with them.
  • Does this PR require documentation updates?
  • I've updated documentation as required by this PR.
  • Optional. My organization is added to USERS.md.
  • I have signed off all my commits as required by DCO
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My build is green (troubleshooting builds).

Signed-off-by: Thomas Münzl <thomasmuenzl@icloud.com>
@codecov
Copy link

codecov bot commented Aug 30, 2021

Codecov Report

Merging #7105 (a27ed4f) into master (ae803a2) will increase coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7105      +/-   ##
==========================================
+ Coverage   41.08%   41.12%   +0.03%     
==========================================
  Files         158      158              
  Lines       21349    21364      +15     
==========================================
+ Hits         8772     8785      +13     
- Misses      11311    11313       +2     
  Partials     1266     1266              
Impacted Files Coverage Δ
server/server.go 54.85% <100.00%> (ø)
server/repository/repository.go 35.62% <0.00%> (-0.15%) ⬇️
util/settings/settings.go 47.15% <0.00%> (ø)
controller/cache/info.go 65.33% <0.00%> (+1.82%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ae803a2...a27ed4f. Read the comment docs.

Copy link
Member

@jannfis jannfis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @jimtoniq !

@jannfis jannfis merged commit a512664 into argoproj:master Sep 3, 2021
plakyda-codefresh pushed a commit to plakyda-codefresh/argo-cd that referenced this pull request Sep 28, 2021
Signed-off-by: Thomas Münzl <thomasmuenzl@icloud.com>
Signed-off-by: viktorplakida <plakyda1@gmail.com>
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.

2 participants