Skip to content

common/saml: Add ability to select nameid unspecified - #27027

Merged
BeryJu merged 4 commits into
mainfrom
web/saml-nameid-unspecified
Nov 4, 2026
Merged

BeryJu merged 4 commits into
mainfrom
web/saml-nameid-unspecified

Conversation

@PeshekDotDev

Copy link
Copy Markdown
Contributor

Details

Adds the ability for SAML providers and sources (and WS-FED) to set NameID to unspecified

What does this PR change?

Why is this change needed?

How was this tested?

Linked issues

Closes #26590


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.

@netlify

netlify Bot commented Oct 19, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 7cfc6a8
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6ad64bf9b0f0eaf5e5fcd825
😎 Deploy Preview https://deploy-preview-27027--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 Oct 19, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.97%. Comparing base (0f5f4a6) to head (2a8c20d).
⚠️ Report is 330 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #27027      +/-   ##
==========================================
+ Coverage   92.29%   92.97%   +0.67%     
==========================================
  Files        1185     1226      +41     
  Lines       79595    85235    +5640     
  Branches     4351     4894     +543     
==========================================
+ Hits        73462    79244    +5782     
+ Misses       6067     5904     -163     
- Partials       66       87      +21     
Flag Coverage Δ
conformance 30.57% <ø> (-1.85%) ⬇️
e2e 35.31% <ø> (-1.81%) ⬇️
integration 27.73% <ø> (-1.55%) ⬇️
rust 51.12% <ø> (+6.69%) ⬆️
unit 94.53% <ø> (+0.58%) ⬆️
unit-migrate 94.54% <ø> (+0.59%) ⬆️

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 Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Playwright e2e

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

gh run download 41824041284 -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-2a8c20d2f2d08594fa79861a262548a91048a65b
# Distroless image: AUTHENTIK_TAG=gh-2a8c20d2f2d08594fa79861a262548a91048a65b-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-2a8c20d2f2d08594fa79861a262548a91048a65b
        # Distroless image: tag: gh-2a8c20d2f2d08594fa79861a262548a91048a65b-distroless

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

Signed-off-by: Jens Langhammer <[email protected]>
@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core Nov 4, 2026
@netlify

netlify Bot commented Nov 4, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 2a8c20d
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6aeb1bc21339fa524f39832d
😎 Deploy Preview https://deploy-preview-27027--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 Nov 4, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

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

@BeryJu
BeryJu merged commit 2db2805 into main Nov 4, 2026
171 checks passed
@BeryJu
BeryJu deleted the web/saml-nameid-unspecified branch November 4, 2026 12:47
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Nov 4, 2026
kensternberg-authentik added a commit that referenced this pull request Nov 4, 2026
* main: (176 commits)
  flows: format titles correct on first render if possible (#27589)
  common/saml: Add ability to select nameid unspecified (#27027)
  core: bump cachetools from 7.2.7 to 7.2.8 (#27575)
  core: bump pytest from 9.1.1 to 9.2.0 (#27573)
  core: bump django from 5.2.18 to 5.2.19 (#27574)
  core: bump pydantic from 2.14.1 to 2.14.2 (#27576)
  ci: bump taiki-e/install-action from 2.88.1 to 2.89.0 in /.github/actions/setup (#27577)
  common/saml: skip Ed25519 tests when FIPS is enabled (#27583)
  outposts/proxy: verify ML-DSA signed tokens (#27171)
  web: bump js-yaml from 4.3.0 to 4.3.2 (#27522)
  web: bump shell-quote from 1.9.0 to 1.12.0 (#27531)
  web/admin: allow adding source to identification stage after creation (#27485)
  web: bump @xmldom/xmldom from 0.8.13 to 0.8.15 in /web (#27520)
  web: bump source-map-js from 1.2.1 to 1.2.2 (#27523)
  web: bump follow-redirects from 1.16.0 to 1.16.2 (#27524)
  web: bump joi from 17.13.4 to 17.13.9 (#27525)
  web: bump smol-toml from 1.8.0 to 1.9.1 (#27526)
  web: bump markdown-it from 14.3.0 to 14.3.3 (#27528)
  web: bump fast-uri from 3.1.8 to 3.1.9 (#27529)
  web: bump image-size from 2.0.2 to 2.0.4 (#27530)
  ...
kensternberg-authentik added a commit that referenced this pull request Nov 4, 2026
* main:
  flows: format titles correct on first render if possible (#27589)
  common/saml: Add ability to select nameid unspecified (#27027)
  core: bump cachetools from 7.2.7 to 7.2.8 (#27575)
  core: bump pytest from 9.1.1 to 9.2.0 (#27573)
  core: bump django from 5.2.18 to 5.2.19 (#27574)
  core: bump pydantic from 2.14.1 to 2.14.2 (#27576)
  ci: bump taiki-e/install-action from 2.88.1 to 2.89.0 in /.github/actions/setup (#27577)
  common/saml: skip Ed25519 tests when FIPS is enabled (#27583)
  outposts/proxy: verify ML-DSA signed tokens (#27171)
  web: bump js-yaml from 4.3.0 to 4.3.2 (#27522)
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.

NameID Policy in SAML Sources: "Undefined" Option Missing

3 participants