Skip to content

stages/user_login: log correct user when session binding is broken#20094

Open
BeryJu wants to merge 1 commit intomainfrom
stages/user_login/session-binding-broken-user
Open

stages/user_login: log correct user when session binding is broken#20094
BeryJu wants to merge 1 commit intomainfrom
stages/user_login/session-binding-broken-user

Conversation

@BeryJu
Copy link
Member

@BeryJu BeryJu commented Feb 7, 2026

Currently we try to get the user from request.user, however that isn't populated yet since the BoundSessionMiddleware runs before the AuthenticationMiddleware which populates it.

ref https://github.com/goauthentik/internal-customer-ref/issues/2

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu requested a review from a team as a code owner February 7, 2026 14:32
@netlify
Copy link

netlify bot commented Feb 7, 2026

Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 71d6d01
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/69874cf47a7dc7000894fc10
😎 Deploy Preview https://deploy-preview-20094--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
Copy link

codecov bot commented Feb 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.18%. Comparing base (ab16661) to head (71d6d01).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #20094      +/-   ##
==========================================
- Coverage   93.23%   93.18%   -0.06%     
==========================================
  Files         968      968              
  Lines       53589    53595       +6     
==========================================
- Hits        49965    49941      -24     
- Misses       3624     3654      +30     
Flag Coverage Δ
conformance 37.95% <14.28%> (-0.01%) ⬇️
e2e 43.94% <14.28%> (+<0.01%) ⬆️
integration 22.66% <14.28%> (-0.05%) ⬇️
unit 91.38% <100.00%> (+<0.01%) ⬆️
unit-migrate 91.39% <100.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 7, 2026

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-71d6d015592f56d8fe77dd993182435e00b8fb8c
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-71d6d015592f56d8fe77dd993182435e00b8fb8c

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

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