Skip to content

providers/saml: allow encryption certificates without private keys#19526

Merged
PeshekDotDev merged 2 commits intomainfrom
saml-encryption-nokey
Jan 20, 2026
Merged

providers/saml: allow encryption certificates without private keys#19526
PeshekDotDev merged 2 commits intomainfrom
saml-encryption-nokey

Conversation

@PeshekDotDev
Copy link
Contributor

…for saml encryption

Details

Closes #19499


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 has been updated (make gen-build)

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 requested a review from a team as a code owner January 16, 2026 17:11
@netlify
Copy link

netlify bot commented Jan 16, 2026

Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit 7c22845
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/696a7140d32e250007642b30
😎 Deploy Preview https://deploy-preview-19526--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.

@netlify
Copy link

netlify bot commented Jan 16, 2026

Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 7c22845
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/696a7140f8f7d60007d26801
😎 Deploy Preview https://deploy-preview-19526--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
Copy link

netlify bot commented Jan 16, 2026

Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 7c22845
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/696a714093379a0008d07cfb
😎 Deploy Preview https://deploy-preview-19526--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
Copy link

codecov bot commented Jan 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.27%. Comparing base (cbff6b1) to head (56c6913).
⚠️ Report is 53 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #19526      +/-   ##
==========================================
- Coverage   93.29%   93.27%   -0.03%     
==========================================
  Files         949      949              
  Lines       52052    52068      +16     
==========================================
  Hits        48564    48564              
- Misses       3488     3504      +16     
Flag Coverage Δ
conformance 38.25% <0.00%> (-0.02%) ⬇️
e2e 44.19% <0.00%> (-0.06%) ⬇️
integration 23.20% <0.00%> (-0.01%) ⬇️
unit 91.50% <100.00%> (+<0.01%) ⬆️
unit-migrate 91.52% <100.00%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@PeshekDotDev PeshekDotDev changed the title providers/saml: allow selection of certificates without private keys … providers/saml: allow encryption certificates without private keys Jan 16, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 16, 2026

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-56c6913f0531cf2a6d607330caa31a1988c1bbaa
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-56c6913f0531cf2a6d607330caa31a1988c1bbaa

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

@jkman340
Copy link

#19499 (comment)

@PeshekDotDev PeshekDotDev requested a review from a team as a code owner January 17, 2026 00:45
@PeshekDotDev PeshekDotDev moved this from Todo to Needs review in authentik Core Jan 20, 2026
@github-project-automation github-project-automation bot moved this from Needs review to In Progress in authentik Core Jan 20, 2026
@PeshekDotDev PeshekDotDev added the backport/version-2025.12 Add this label to PRs to backport changes to version-2025.12 label Jan 20, 2026
@PeshekDotDev PeshekDotDev merged commit 31f8a1a into main Jan 20, 2026
143 of 145 checks passed
@PeshekDotDev PeshekDotDev deleted the saml-encryption-nokey branch January 20, 2026 14:56
@github-project-automation github-project-automation bot moved this from In Progress to Done in authentik Core Jan 20, 2026
authentik-automation bot pushed a commit that referenced this pull request Jan 20, 2026
…19526)

* providers/saml: allow selection of certificates without private keys for saml encryption

* fix back-end to support cert only
@authentik-automation
Copy link
Contributor

🍒 Cherry-pick to version-2025.12 created: #19612

BeryJu pushed a commit that referenced this pull request Jan 20, 2026
…herry-pick #19526 to version-2025.12) (#19612)

providers/saml: allow encryption certificates without private keys (#19526)

* providers/saml: allow selection of certificates without private keys for saml encryption

* fix back-end to support cert only

Co-authored-by: Connor Peshek <connor@connorpeshek.me>
kensternberg-authentik added a commit that referenced this pull request Jan 20, 2026
* main: (191 commits)
  sources/saml: Fix signature verification order to accommodate encrypted assertions (#19593)
  providers/saml: fix structure of encrypted saml assertion (#19592)
  providers/saml: allow encryption certificates without private keys (#19526)
  integrations: add saml steps to mattermost (#19590)
  policies: fix Provider's authentication_flow not used when set (#19609)
  web: bump type-fest from 5.4.0 to 5.4.1 in /web (#19473)
  endpoints: fix endpoints stage marked as enterprise (#19607)
  core: bump selenium from 4.39.0 to 4.40.0 (#19564)
  core: bump goauthentik.io/api/v3 from 3.2026020.11 to 3.2026020.12 (#19594)
  core: bump openapitools/openapi-generator-cli from v7.18.0 to v7.19.0 in /scripts/api (#19595)
  core: bump fido2 from 2.1.0 to 2.1.1 (#19596)
  web: bump @sentry/browser from 10.34.0 to 10.35.0 in /web in the sentry group across 1 directory (#19597)
  core: bump aws-cdk-lib from 2.235.0 to 2.235.1 (#19598)
  web: bump the eslint group across 1 directory with 3 updates (#19599)
  web: bump the rollup group across 1 directory with 4 updates (#19600)
  web: bump the swc group across 1 directory with 12 updates (#19601)
  web: bump pino from 10.2.0 to 10.2.1 in /web (#19602)
  web: bump knip from 5.81.0 to 5.82.1 in /web (#19603)
  tests: improve e2e/integration test reliability (#19540)
  web: update @goauthentik/api (#19542)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

SAML Encryption Certificate - Can’t Select Public Cert Only

3 participants