Skip to content

providers/saml: share xml signature generation - #27786

Merged
dominic-r merged 1 commit into
mainfrom
dominic/saml-xml-sign-dedup
Nov 12, 2026
Merged

dominic-r merged 1 commit into
mainfrom
dominic/saml-xml-sign-dedup

Conversation

@dominic-r

Copy link
Copy Markdown
Member

XML signing was the same block in the assertion processor, the logout request processor, the metadata processor, and the WS-Federation SAML 1.1 assertion. those four now call sign_xml_element.

The same enveloped-signature sequence was copied in the assertion,
logout request, metadata, and WS-Federation processors.

Signed-off-by: Dominic Roy <[email protected]>
@dominic-r dominic-r self-assigned this Nov 12, 2026
@dominic-r
dominic-r requested a review from a team as a code owner November 12, 2026 08:17
@netlify

netlify Bot commented Nov 12, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

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

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.14286% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 93.01%. Comparing base (7d71ccf) to head (f1904c6).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
authentik/providers/saml/processors/signature.py 95.65% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #27786      +/-   ##
==========================================
- Coverage   93.04%   93.01%   -0.03%     
==========================================
  Files        1237     1238       +1     
  Lines       86365    86339      -26     
  Branches     4894     4894              
==========================================
- Hits        80356    80307      -49     
- Misses       5922     5945      +23     
  Partials       87       87              
Flag Coverage Δ
conformance 30.40% <42.85%> (+0.06%) ⬆️
e2e 35.05% <91.42%> (+<0.01%) ⬆️
integration 27.58% <42.85%> (-0.30%) ⬇️
rust 51.12% <ø> (ø)
unit 94.57% <97.14%> (-0.01%) ⬇️
unit-migrate 94.58% <97.14%> (-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.

@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Playwright e2e

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

gh run download 43181747764 -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-f1904c62bad68ccc435e93d49bf591a9a9a0db39
# Distroless image: AUTHENTIK_TAG=gh-f1904c62bad68ccc435e93d49bf591a9a9a0db39-distroless
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-f1904c62bad68ccc435e93d49bf591a9a9a0db39
        # Distroless image: tag: gh-f1904c62bad68ccc435e93d49bf591a9a9a0db39-distroless

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.

lgtm, cc @PeshekDotDev

@dominic-r
dominic-r merged commit d039139 into main Nov 12, 2026
171 checks passed
@dominic-r
dominic-r deleted the dominic/saml-xml-sign-dedup branch November 12, 2026 15:28
kensternberg-authentik added a commit that referenced this pull request Nov 12, 2026
* main: (35 commits)
  providers/saml: share xml signature generation (#27786)
  tests/openid_conformance: upload JPEG screenshots (#27749)
  crypto: export certificate expiry as a Prometheus metric (#27771)
  core: bump openapitools/openapi-generator-cli from v7.26.0 to v7.27.0 in /packages/client-ts (#27663)
  core: bump openapitools/openapi-generator-cli from v7.26.0 to v7.27.0 in /packages/client-rust (#27662)
  core: bump goauthentik/fips-debian from `d363011` to `16c391c` in /lifecycle/container (#27368)
  web: bump body-parser from 1.20.6 to 1.20.9 (#27521)
  core: bump library/node from `6d2c7d5` to `438603b` in /website (#27709)
  core: bump library/nginx from `5ab5b0b` to `165ddde` in /website (#27710)
  web: bump postcss-selector-parser from 7.1.7 to 7.2.0 in /web (#27742)
  web: bump glob from 13.0.6 to 13.0.7 (#27744)
  web: bump colord from 2.10.0 to 2.11.0 (#27745)
  web: bump colord from 2.10.0 to 2.11.0 in /website (#27746)
  root: resolve squashed migrations' dependencies (#27751)
  ci: add django-migration-linter (#27748)
  core: bump deepmerge from 3.0.1 to 4.0.0 (#27767)
  website/docs: Enhance reverse proxy NGINX configuration (#27774)
  providers/oauth2: drop the GrantTypes session alias (#27788)
  website/integrations: add calendarbridge (#27779)
  website/integrations: add onecal (#27778)
  ...
kensternberg-authentik added a commit that referenced this pull request Nov 25, 2026
…t-info' into web/element/ak-event-info

* refs/remotes/origin/web/element/ak-event-info: (44 commits)
  A spelling error? In this economy?
  Convert one-line functions into arrow functions.
  Just explaining a seemingly random export in one of the renderers.
  web/component: ak-event-info
  Broke out renderers and switched to pattern matching.
  Holding pattern.
  First: Turn the renderer switch into a _function_
  web/elements: AttributeView and TreeView: Provide a multi-modal view of raw JSON or YAML information (#27687)
  providers/oauth2: speed up the discovery endpoint (#27696)
  providers/saml: share xml signature generation (#27786)
  tests/openid_conformance: upload JPEG screenshots (#27749)
  crypto: export certificate expiry as a Prometheus metric (#27771)
  core: bump openapitools/openapi-generator-cli from v7.26.0 to v7.27.0 in /packages/client-ts (#27663)
  core: bump openapitools/openapi-generator-cli from v7.26.0 to v7.27.0 in /packages/client-rust (#27662)
  core: bump goauthentik/fips-debian from `d363011` to `16c391c` in /lifecycle/container (#27368)
  web: bump body-parser from 1.20.6 to 1.20.9 (#27521)
  core: bump library/node from `6d2c7d5` to `438603b` in /website (#27709)
  core: bump library/nginx from `5ab5b0b` to `165ddde` in /website (#27710)
  web: bump postcss-selector-parser from 7.1.7 to 7.2.0 in /web (#27742)
  web: bump glob from 13.0.6 to 13.0.7 (#27744)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants