Skip to content

providers/oauth: skip post logout redirect matching if none are saved on the provider - #22718

Merged
PeshekDotDev merged 1 commit into
mainfrom
oidc-post-logout-nonexistent
Jun 9, 2026
Merged

PeshekDotDev merged 1 commit into
mainfrom
oidc-post-logout-nonexistent

Conversation

@PeshekDotDev

@PeshekDotDev PeshekDotDev commented May 28, 2026 •

Copy link
Copy Markdown
Contributor

Details

Currently, the validation check for post logout redirect uri's is too strict, and fails if none are present. It should be fully ignored if none are saved and logout should continue

Ref #22603
Ref #22572
Ref #22904


Checklist

  • Local tests pass (ak test authentik/)
  • The code has been formatted (make lint-fix)

If an API change has been made

  • The API schema and clients have been updated (make gen)

If changes to the frontend have been made

  • The code has been formatted (make web)

If applicable

  • The documentation has been updated
  • The documentation has been formatted (make docs)

@PeshekDotDev PeshekDotDev self-assigned this May 28, 2026
@PeshekDotDev
PeshekDotDev requested a review from a team as a code owner May 28, 2026 11:42
@netlify

netlify Bot commented May 28, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

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

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.25%. Comparing base (9e03bb3) to head (5bbc0f8).
⚠️ Report is 141 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #22718      +/-   ##
==========================================
- Coverage   93.30%   93.25%   -0.06%     
==========================================
  Files        1033     1033              
  Lines       60100    60182      +82     
  Branches      400      400              
==========================================
+ Hits        56076    56120      +44     
- Misses       4024     4062      +38     
Flag Coverage Δ
conformance 36.54% <100.00%> (-0.05%) ⬇️
e2e 41.80% <100.00%> (-0.02%) ⬇️
integration 32.98% <0.00%> (-0.05%) ⬇️
rust 0.00% <ø> (ø)
unit 92.20% <100.00%> (-0.03%) ⬇️
unit-migrate 92.22% <100.00%> (-0.05%) ⬇️

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 Jun 9, 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-5bbc0f86c9d4f162078898db530bade00dcaee56
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-5bbc0f86c9d4f162078898db530bade00dcaee56

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

@BeryJu BeryJu added the backport/version-2026.5 Add this label to PRs to backport changes to version-2026.5 label Jun 9, 2026
@PeshekDotDev
PeshekDotDev force-pushed the oidc-post-logout-nonexistent branch from cbb56b2 to bf3ccc8 Compare June 9, 2026 15:24
@PeshekDotDev
PeshekDotDev force-pushed the oidc-post-logout-nonexistent branch from bf3ccc8 to 5bbc0f8 Compare June 9, 2026 15:28
@netlify

netlify Bot commented Jun 9, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit bf3ccc8
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6a2830398b9a7800086b3074
😎 Deploy Preview https://deploy-preview-22718--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 Jun 9, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit bf3ccc8
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6a283039342fb400086bda79
😎 Deploy Preview https://deploy-preview-22718--authentik-integrations.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.

@melizeche melizeche left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core Jun 9, 2026
@PeshekDotDev
PeshekDotDev merged commit f6d7edd into main Jun 9, 2026
177 of 180 checks passed
@PeshekDotDev
PeshekDotDev deleted the oidc-post-logout-nonexistent branch June 9, 2026 16:36
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Jun 9, 2026
@authentik-automation

Copy link
Copy Markdown
Contributor

🍒 Cherry-pick to version-2026.5 created: #22955

PeshekDotDev added a commit that referenced this pull request Jun 10, 2026
… on the provider (cherry-pick #22718 to version-2026.5) (#22955)

providers/oauth: skip post logout redirect matching if none are saved on the provider (#22718)

skip post logout redirect matching if none are saved on the provider

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

Labels

backport/version-2026.5 Add this label to PRs to backport changes to version-2026.5

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants