Repository navigation
providers/oauth2: track RP logins per session for logout - #26310
Conversation
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #26310 +/- ##
==========================================
- Coverage 92.01% 91.98% -0.03%
==========================================
Files 1175 1175
Lines 76288 76378 +90
Branches 4056 4056
==========================================
+ Hits 70193 70259 +66
- Misses 6053 6077 +24
Partials 42 42
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
Playwright e2eDownload this run's HTML report, traces and server logs, then open the report: gh run download 35570152539 -D playwright-artifacts
npx playwright show-report playwright-artifacts/playwright-reportInstallation instructionsInstructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-4079496983622e7ec94fbd465c8ae929a2cb5c26
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)sAfterwards, run the upgrade commands from the latest release notes. Instructions for KubernetesAdd the following block to your 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-4079496983622e7ec94fbd465c8ae929a2cb5c26Afterwards, run the upgrade commands from the latest release notes. |
|
👍 |
* main: (38 commits) providers/oauth2: track RP logins per session for logout (#26310) common/saml: Fix metadata to serve only the leaf of a PEM chain (#26273) website: bump the build group in /website with 3 updates (#26292) website/docs: rac: explain authorization reuse and disconnect behavior (#26288) core: bump astral-sh/uv from 0.12.16 to 0.12.17 in /lifecycle/container (#26294) sources/kerberos, sources/ldap: Save source connections when linking an existing user/group (#26059) core: bump goauthentik/fips-python from `863aded` to `05c6c36` in /lifecycle/container (#26295) core: bump library/node from `14bf3ea` to `d82e1d0` in /lifecycle/container (#26240) ci: bump the codeql group across 1 directory with 3 updates (#26304) ci: bump codecov/codecov-action from 7.1.0 to 7.1.1 in /.github/actions/test-results (#26307) ci: bump codecov/codecov-action from 7.1.0 to 7.1.1 (#26305) ci: bump taiki-e/install-action from 2.87.13 to 2.87.15 in /.github/actions/setup (#26306) core: bump debugpy from 1.8.21 to 1.8.22 (#26303) core: bump openid/conformance-suite from release-v5.3.0 to release-v5.3.1 in /tests/openid_conformance (#26301) core: bump jwcrypto from 1.6.0 to 1.6.1 (#26302) core: bump openid/conformance-suite/nginx from release-v5.3.0 to release-v5.3.1 in /tests/openid_conformance (#26300) core: bump ruff from 0.16.7 to 0.16.8 (#26299) core: bump sentry-sdk from 2.69.1 to 2.69.2 (#26298) core: bump goauthentik/selenium from 151.0-ak-0.61.0 to 152.0-ak-0.62.0 in /tests/e2e (#26293) website/docs: fix two word-swap typos (#26283) ...
Details
This change tracks every OIDC RP a user logs into during their session. This allows us to send a logout request to all RP's that were logged in during the user's session, regardless of the access token still being valid.
What does this PR change?
We currently only send logout requests to RP's that still have an active token with us. It is possible that our session token is inactive before the RP ends their session, so we still need to notify these RP's that authentik's session has ended.
Why is this change needed?
RP sessions can continue to exist after authentik has logged out.
How was this tested?
Via test suite and manual testing
Linked issues
Closes #25826
Checklist
make all)make docs)