Skip to content

providers/oauth2: fix iframe logout stage progression - #23919

Merged
PeshekDotDev merged 2 commits into
mainfrom
fix-end-session-clobbers-logout-plan
Jul 13, 2026
Merged

PeshekDotDev merged 2 commits into
mainfrom
fix-end-session-clobbers-logout-plan

Conversation

@PeshekDotDev

@PeshekDotDev PeshekDotDev commented Jul 12, 2026 •

Copy link
Copy Markdown
Contributor

Details

What does this PR change?

This prevents responses on the iframe logout stage from wiping the memory of the next logout stages and breaking single logout

Why is this change needed?

Without it, native logouts and saml source logouts will not work

How was this tested?

Setting up a saml source, iframe provider, and native logout provider, logging them all in, then logging out

Linked issues


Checklist

  • The project has been linted, built, and tested (make all)
  • The documentation has been updated and formatted (make docs)

@PeshekDotDev
PeshekDotDev requested a review from a team as a code owner July 12, 2026 13:46
@PeshekDotDev PeshekDotDev self-assigned this Jul 12, 2026
@netlify

netlify Bot commented Jul 12, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 726e92b
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6a539aa2a696380008ffcc90
😎 Deploy Preview https://deploy-preview-23919--authentik-storybook.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.

@netlify

netlify Bot commented Jul 12, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 726e92b
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a539aa225c8e70008008e82
😎 Deploy Preview https://deploy-preview-23919--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 12, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.28%. Comparing base (32fab0d) to head (f6922cf).
⚠️ Report is 37 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #23919      +/-   ##
==========================================
+ Coverage   93.23%   93.28%   +0.05%     
==========================================
  Files        1043     1044       +1     
  Lines       60990    61245     +255     
  Branches      424      424              
==========================================
+ Hits        56862    57134     +272     
+ Misses       4128     4111      -17     
Flag Coverage Δ
conformance 36.19% <7.27%> (-0.13%) ⬇️
e2e 41.36% <7.27%> (-0.17%) ⬇️
integration 32.61% <3.63%> (-0.12%) ⬇️
rust 0.00% <ø> (ø)
unit 92.36% <100.00%> (+0.07%) ⬆️
unit-migrate 92.41% <100.00%> (+0.08%) ⬆️

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.

@github-actions

github-actions Bot commented Jul 12, 2026 •

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-f6922cf17eeacfd411d672679e00f6a71c56146d
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-f6922cf17eeacfd411d672679e00f6a71c56146d

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 Jul 13, 2026
@PeshekDotDev
PeshekDotDev merged commit d2c63ec into main Jul 13, 2026
122 checks passed
@PeshekDotDev
PeshekDotDev deleted the fix-end-session-clobbers-logout-plan branch July 13, 2026 15:47
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Jul 13, 2026
kensternberg-authentik added a commit that referenced this pull request Jul 13, 2026
…rd-2' into web/cleanup/task-card-2

* refs/remotes/origin/web/cleanup/task-card-2:
  providers/oauth2: fix iframe logout stage progression (#23919)
  providers/scim: improve error display when error doesn't conform to scim schema (#23955)
  Just trying to make life a little better.
  Just trying to make life a little better.
  It was wrong of me to delay this; it should have been fixed in this branch first.
  Serious typo.
  web/bug: harmonize and make routine the display of tasks (part 2: description-list abuse)
  Forgot to remove the per-instance parse.
  web/bug: harmonize and make routine the display of tasks (part 1: cards)
  ## What
kensternberg-authentik added a commit that referenced this pull request Jul 13, 2026
* main: (48 commits)
  web/bug: harmonize and make routine the display of tasks (part 2: description list abuse) (#23839)
  providers/oauth2: fix iframe logout stage progression (#23919)
  providers/scim: improve error display when error doesn't conform to scim schema (#23955)
  providers/saml: catch InvalidVersion from cryptography when parsing metadata (#21185)
  stages/user_login: refuse to log in an unsaved pending user (#21691)
  web/admin: hide previous loglist when no previous logs available (#23954)
  stages/email: fix ungrammatical expiry time in password reset templates (#22758)
  tests/openid_conformance: Add more conformance coverage (#22174)
  sources/ldap: derive TLS SNI name from hostname, not full server URI (#22456)
  core: bump github.com/grafana/pyroscope-go from 1.3.1 to 1.4.0 (#23885)
  web: Fix Log Viewer Intersection Observer. (#23861)
  web: bump the goauthentik group across 1 directory with 2 updates (#23926)
  ci: bump regclient/actions/regctl-login from 4b4db1dcc7dad75ad67a788a380f75a20cc8a040 to 39bf30ced4be9d147faaabbde2682e9725fb8bd1 (#23890)
  ci: bump regclient/actions/regctl-installer from 4b4db1dcc7dad75ad67a788a380f75a20cc8a040 to 39bf30ced4be9d147faaabbde2682e9725fb8bd1 (#23891)
  core: bump pnpm/pnpm from 11.10.0 to 11.11.0 in /website (#23930)
  core: bump pnpm/pnpm from 11.10.0 to 11.11.0 in /lifecycle/container (#23927)
  core: bump github.com/sethvargo/go-envconfig from 1.3.0 to 1.3.1 (#23921)
  core: bump goauthentik/selenium from 149.0-ak-0.50.1 to 149.0-ak-0.50.2 in /tests/e2e (#23924)
  core: bump uvicorn[standard] from 0.49.0 to 0.50.0 (#23925)
  core: bump ruff from 0.15.20 to 0.15.21 (#23928)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants