Skip to content

policies: fix Providers authentication_flow not used when set#19609

Merged
BeryJu merged 1 commit intomainfrom
policies/fix-provider-authn-flow
Jan 20, 2026
Merged

policies: fix Providers authentication_flow not used when set#19609
BeryJu merged 1 commit intomainfrom
policies/fix-provider-authn-flow

Conversation

@BeryJu
Copy link
Member

@BeryJu BeryJu commented Jan 20, 2026

introduced by #18388

closes #19608

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu requested a review from a team as a code owner January 20, 2026 12:29
@BeryJu BeryJu added area:backend backport/version-2025.12 Add this label to PRs to backport changes to version-2025.12 labels Jan 20, 2026
@netlify
Copy link

netlify bot commented Jan 20, 2026

Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 3931183
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/696f752d17917c000801c46d
😎 Deploy Preview https://deploy-preview-19609--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 20, 2026

Codecov Report

❌ Patch coverage is 96.55172% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 93.22%. Comparing base (9448824) to head (3931183).
⚠️ Report is 7 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
authentik/policies/views.py 90.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #19609      +/-   ##
==========================================
- Coverage   93.26%   93.22%   -0.04%     
==========================================
  Files         949      949              
  Lines       52069    52091      +22     
==========================================
+ Hits        48561    48563       +2     
- Misses       3508     3528      +20     
Flag Coverage Δ
conformance 38.24% <27.58%> (-0.01%) ⬇️
e2e 44.08% <27.58%> (-0.01%) ⬇️
integration 23.14% <0.00%> (-0.07%) ⬇️
unit 91.51% <96.55%> (+<0.01%) ⬆️
unit-migrate 91.53% <96.55%> (+<0.01%) ⬆️

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.

@github-actions
Copy link
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-393118303a0803327ff1c0c46805379cedb723b5
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-393118303a0803327ff1c0c46805379cedb723b5

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

@BeryJu BeryJu merged commit 3693fcf into main Jan 20, 2026
103 checks passed
@BeryJu BeryJu deleted the policies/fix-provider-authn-flow branch January 20, 2026 13:57
@BeryJu BeryJu added backport/version-2025.12 Add this label to PRs to backport changes to version-2025.12 and removed backport/version-2025.12 Add this label to PRs to backport changes to version-2025.12 labels Jan 20, 2026
@BeryJu BeryJu changed the title policies: fix Provider's authentication_flow not used when set policies: fix Providers authentication_flow not used when set Jan 20, 2026
@BeryJu BeryJu added backport/version-2025.12 Add this label to PRs to backport changes to version-2025.12 and removed backport/version-2025.12 Add this label to PRs to backport changes to version-2025.12 labels Jan 20, 2026
authentik-automation bot pushed a commit that referenced this pull request Jan 20, 2026
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@authentik-automation
Copy link
Contributor

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

BeryJu added a commit that referenced this pull request Jan 20, 2026
…-pick #19609 to version-2025.12) (#19615)

policies: fix Provider's authentication_flow not used when set (#19609)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Jens L. <jens@goauthentik.io>
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

area:backend backport/version-2025.12 Add this label to PRs to backport changes to version-2025.12

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provider authentication flow setting is ignored

1 participant