Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v10.3.x] AuthProxy: Invalidate previous cached item for user when changes are made to any header #83203

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

grafana-delivery-bot[bot]
Copy link
Contributor

Backport 9282c7a from #81445


What is this feature?

fix: sign in using auth_proxy with role a -> b -> a would end up with role b

Why do we need this feature?

fixing a bug

Who is this feature for?

anyone who uses authproxy with role

Which issue(s) does this PR fix?:

Fixes #81327

Special notes for your reviewer:

Please check that:

  • It works as expected from a user's perspective.
  • If this is a pre-GA feature, it is behind a feature toggle.
  • The docs are updated, and if this is a notable improvement, it's added to our What's New doc.

…made to any header (#81445)

* fix: sign in using auth_proxy with role a -> b -> a would end up with role b

* Update pkg/services/authn/clients/proxy.go

Co-authored-by: Karl Persson <kalle.persson92@gmail.com>

* Update pkg/services/authn/clients/proxy.go

Co-authored-by: Karl Persson <kalle.persson92@gmail.com>
(cherry picked from commit 9282c7a)
@kalleep kalleep merged commit 876891b into v10.3.x Feb 23, 2024
23 checks passed
@kalleep kalleep deleted the backport-81445-to-v10.3.x branch February 23, 2024 09:33
@aangelisc aangelisc modified the milestones: 10.3.x, 10.3.4 Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants