Skip to content

sources/saml: fix issuer generation and change to issuer_override - #22177

Merged
PeshekDotDev merged 9 commits into
mainfrom
issuer-generation-saml-source
Jul 14, 2026
Merged

PeshekDotDev merged 9 commits into
mainfrom
issuer-generation-saml-source

Conversation

@PeshekDotDev

@PeshekDotDev PeshekDotDev commented May 9, 2026 •

Copy link
Copy Markdown
Contributor

Details

Currently, SAML Sources do not generate an issuer when the field is left blank. However, the UI claims that we will automatically generate an issuer that matches the metadata url endpoint. This fixes that, allowing for our SP metadata and UI to fill this value properly

Also, since this is an override field, I have changed it to issuer_override to match the provider side naming


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 9, 2026
@PeshekDotDev
PeshekDotDev requested review from a team as code owners May 9, 2026 06:56
@netlify

netlify Bot commented May 9, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 60bb42a
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6a55e7cb7f59570008ab6604
😎 Deploy Preview https://deploy-preview-22177--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 May 9, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

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

netlify Bot commented May 9, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 663f8f2
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a55e98fe079670008ac7b74
😎 Deploy Preview https://deploy-preview-22177--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 9, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 66.66667% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.26%. Comparing base (613ee05) to head (497047f).
⚠️ Report is 8 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
authentik/sources/saml/api/source.py 50.00% 3 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main   #22177   +/-   ##
=======================================
  Coverage   93.26%   93.26%           
=======================================
  Files        1045     1045           
  Lines       61280    61311   +31     
  Branches      424      424           
=======================================
+ Hits        57154    57183   +29     
- Misses       4126     4128    +2     
Flag Coverage Δ
conformance 36.17% <44.44%> (-0.01%) ⬇️
e2e 41.33% <66.66%> (-0.01%) ⬇️
integration 32.59% <44.44%> (-0.01%) ⬇️
rust 0.00% <ø> (ø)
unit 92.37% <66.66%> (-0.02%) ⬇️
unit-migrate 92.40% <66.66%> (+<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 May 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-497047fae249a295fa7aebd3d5a3b97dc37f74fc
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-497047fae249a295fa7aebd3d5a3b97dc37f74fc

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

@PeshekDotDev PeshekDotDev changed the title sources/saml: fix issuer generation sources/saml: fix issuer generation and change to issuer_override May 20, 2026
Signed-off-by: Dewi Roberts <[email protected]>
@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core Jul 13, 2026

@dewi-tik dewi-tik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Docs approval

@PeshekDotDev
PeshekDotDev enabled auto-merge (squash) July 14, 2026 07:56
@PeshekDotDev
PeshekDotDev merged commit 2c22ee3 into main Jul 14, 2026
121 of 122 checks passed
@PeshekDotDev
PeshekDotDev deleted the issuer-generation-saml-source branch July 14, 2026 09:19
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.

5 participants