Skip to content

outposts: refresh sessions when impersonation changes - #26086

Merged
dominic-r merged 1 commit into
mainfrom
dominic/fix-proxy-impersonation
Sep 15, 2026
Merged

dominic-r merged 1 commit into
mainfrom
dominic/fix-proxy-impersonation

Conversation

@dominic-r

@dominic-r dominic-r commented Sep 13, 2026 •

Copy link
Copy Markdown
Member

Invalidate outpost sessions when impersonation starts or ends. Save the identity change first so reauthorization sees the current user.

Closes #26042

@dominic-r
dominic-r requested a review from a team as a code owner September 13, 2026 01:17
@dominic-r dominic-r self-assigned this Sep 13, 2026
@dominic-r dominic-r added area:backend backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8 labels Sep 13, 2026
@netlify

netlify Bot commented Sep 13, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit ccd6d4a
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6aa5f9928d40640008591db8
😎 Deploy Preview https://deploy-preview-26086--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Sep 13, 2026 •

Copy link
Copy Markdown

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
4465 1 4464 5
View the top 1 failed test(s) by shortest run time
101-session-lifecycle.test.ts::Session Lifecycle › Remember me persists username
Stack Traces | 121s run time
Test timeout of 60000ms exceeded.

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@github-actions

Copy link
Copy Markdown
Contributor

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-ccd6d4a2cb8e5a3dce460a3e6cc280db1409675a
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-ccd6d4a2cb8e5a3dce460a3e6cc280db1409675a

Afterwards, run the upgrade commands from the latest release notes.

@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core Sep 15, 2026
@dominic-r
dominic-r merged commit aba062d into main Sep 15, 2026
143 of 145 checks passed
@dominic-r
dominic-r deleted the dominic/fix-proxy-impersonation branch September 15, 2026 14:27
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Sep 15, 2026
@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

🍒 Cherry-pick to version-2026.8 created: #26173

BeryJu pushed a commit that referenced this pull request Sep 15, 2026
…6086 to version-2026.8) (#26173)

outposts: refresh sessions when impersonation changes (#26086)

Co-authored-by: Dominic Roy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:backend backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Impersonation is not applied to applications behind a proxy outpost (forward auth)

2 participants