Skip to content

providers/saml: verify logoutrequest/response signatures - #26534

Merged
PeshekDotDev merged 2 commits into
mainfrom
providers-saml-logout-signature
Oct 19, 2026
Merged

PeshekDotDev merged 2 commits into
mainfrom
providers-saml-logout-signature

Conversation

@PeshekDotDev

Copy link
Copy Markdown
Contributor

Details

What does this PR change?

Why is this change needed?

How was this tested?

Linked issues


Checklist

  • The project has been linted, built, and tested (make all)
  • The documentation has been updated and formatted (make docs)
  • I have read the AI usage policy.

@PeshekDotDev
PeshekDotDev requested a review from a team as a code owner September 29, 2026 07:48
@netlify

netlify Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit a46a07e
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6ad1df07dbdc40787c282175
😎 Deploy Preview https://deploy-preview-26534--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 Sep 30, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.67901% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.35%. Comparing base (ad916e0) to head (a46a07e).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
authentik/common/saml/parsers/verify.py 87.80% 5 Missing ⚠️
authentik/providers/saml/views/sp_slo.py 89.79% 5 Missing ⚠️
authentik/common/saml/parsers/logout_response.py 92.15% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #26534      +/-   ##
==========================================
+ Coverage   91.77%   92.35%   +0.57%     
==========================================
  Files        1184     1186       +2     
  Lines       79549    79827     +278     
  Branches     4351     4351              
==========================================
+ Hits        73006    73723     +717     
+ Misses       6477     6038     -439     
  Partials       66       66              
Flag Coverage Δ
conformance 32.36% <11.72%> (-0.08%) ⬇️
e2e 37.05% <12.03%> (?)
integration 29.23% <11.72%> (-0.07%) ⬇️
rust 44.42% <ø> (ø)
unit 94.00% <95.67%> (+0.05%) ⬆️
unit-migrate 94.00% <95.67%> (+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 Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Playwright e2e

Download this run's HTML report and traces, then open the report:

gh run download 38873381789 -D playwright-artifacts
npx playwright show-report playwright-artifacts/playwright-report

Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-a46a07e86e48d014343aae97b1a8de722fb46e9a
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-a46a07e86e48d014343aae97b1a8de722fb46e9a

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

@BeryJu BeryJu 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.

Some nits otherwise lgtm

Comment thread authentik/common/saml/parsers/verify.py Resolved
Comment on lines 247 to 279

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.

Either this should be a separate function or the if condition should be inverted

Base automatically changed from common-saml-parsers to main October 16, 2026 08:23
@PeshekDotDev
PeshekDotDev force-pushed the providers-saml-logout-signature branch from a6fb05c to a46a07e Compare October 16, 2026 08:23
@PeshekDotDev
PeshekDotDev requested a review from BeryJu October 16, 2026 09:57
@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core Oct 19, 2026
@PeshekDotDev
PeshekDotDev merged commit f1a8934 into main Oct 19, 2026
148 checks passed
@PeshekDotDev
PeshekDotDev deleted the providers-saml-logout-signature branch October 19, 2026 16:09
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Oct 19, 2026
kensternberg-authentik added a commit that referenced this pull request Nov 5, 2026
* main: (21 commits)
  policies: fix warning from setting non-string tracing data (#27062)
  root: annotate hot paths (#27052)
  website/docs: contributing: add guidelines for vendor contributions (#27032)
  providers/saml: Add ability to select encryption algorithm (#27009)
  lib: set postgres timezone on connection (#27053)
  core: add postgres connection info (#27024)
  ci: fix cargo deny for basic-toml (#27054)
  web/elements: keep ak-array-input edits through form submission (#27045)
  enterprise: optimize middleware (#27015)
  core: bump goauthentik/platform-ssh from 26.04-ak-0.72.0 to 26.04-ak-0.72.1 in /tests/e2e (#27038)
  core: bump ruff from 0.16.10 to 0.17.0 (#27044)
  core: bump sentry-sdk from 2.71.0 to 2.72.0 (#27043)
  core: bump django-postgres-extra from 3.0.0 to 3.0.1 (#27042)
  core: bump python-kadmin-rs from 0.7.4 to 0.7.5 (#27040)
  core: bump goauthentik/selenium from 152.0-ak-0.72.0 to 152.0-ak-0.72.1 in /tests/e2e (#27039)
  core: bump aiohttp from 3.14.3 to 3.14.4 (#27034)
  web/flow: fix remember-me being cleared by CSRF token rotation (#25205)
  web/theme: Remove the categories build from the theme (#26982)
  core: bump library/golang from `2f84bc9` to `4766793` in /lifecycle/container (#26996)
  providers/saml: verify logoutrequest/response signatures (#26534)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants