Skip to content

core: add admin_authenticated_session_deleted signal for admin deleted session - #24434

Merged
BeryJu merged 3 commits into
mainfrom
core/signals-admin_authenticated_session_deleted
Jul 28, 2026
Merged

BeryJu merged 3 commits into
mainfrom
core/signals-admin_authenticated_session_deleted

Conversation

@BeryJu

@BeryJu BeryJu commented Jul 28, 2026

Copy link
Copy Markdown
Member

currently ssf listens on pre_delete of AuthenticatedSession, which also fires if a user logs out manually, which then propagates and causes ssf to log out out of everything even if it still has refresh tokens

@BeryJu
BeryJu requested a review from a team as a code owner July 28, 2026 13:06
@netlify

netlify Bot commented Jul 28, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 9198460
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a68a93c5ea463000896df30
😎 Deploy Preview https://deploy-preview-24434--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 Jul 28, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 79.31034% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.53%. Comparing base (1b17b1a) to head (578f6ed).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
authentik/core/api/authenticated_sessions.py 57.14% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #24434      +/-   ##
==========================================
- Coverage   93.57%   93.53%   -0.05%     
==========================================
  Files        1076     1076              
  Lines       65022    65042      +20     
  Branches      424      424              
==========================================
- Hits        60844    60835       -9     
- Misses       4178     4207      +29     
Flag Coverage Δ
conformance 35.13% <48.27%> (+<0.01%) ⬆️
e2e 40.01% <48.27%> (+<0.01%) ⬆️
integration 31.24% <48.27%> (-0.46%) ⬇️
rust 0.00% <ø> (ø)
unit 92.77% <79.31%> (-0.01%) ⬇️
unit-migrate 92.80% <79.31%> (-0.01%) ⬇️

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

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

Co-authored-by: Marc 'risson' Schmitt <[email protected]>
Signed-off-by: Jens L. <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
@BeryJu
BeryJu force-pushed the core/signals-admin_authenticated_session_deleted branch from 42bc556 to 578f6ed Compare July 28, 2026 15:26
@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-578f6edfc652d8ab7734c52687dd1ced1aa86b60
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-578f6edfc652d8ab7734c52687dd1ced1aa86b60

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

@BeryJu
BeryJu merged commit 6f9b551 into main Jul 28, 2026
122 of 123 checks passed
@BeryJu
BeryJu deleted the core/signals-admin_authenticated_session_deleted branch July 28, 2026 15:53
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