Skip to content

website/docs: document ForceAuthn and typed AKQL JSON values - #25079

Merged
dewi-tik merged 1 commit into
mainfrom
dominic/docs-2026-8-behavior-changes
Sep 4, 2026
Merged

dewi-tik merged 1 commit into
mainfrom
dominic/docs-2026-8-behavior-changes

Conversation

@dominic-r

Copy link
Copy Markdown
Member

Found while auditing 2026.8 docs for staleness ahead of the release — see the Slack thread.

Two 2026.8 behavior changes appear only in the release notes and nowhere in the docs.

SAML ForceAuthn

authentik/providers/saml/views/sso.py now re-authenticates when the SP requests it:

# If the SP requested ForceAuthn, we must re-authenticate the user regardless of
# any existing session, mirroring the OIDC provider's prompt=login handling.
if auth_n_request and auth_n_request.force_authn:
    reauth_response = self.check_force_authn(request)

ForceAuthn appeared nowhere in website/docs/ outside the release notes. This matters more than a typical new feature: it needs no configuration, applies to any SP that sets the attribute, and changes login behavior for existing applications the moment an instance is upgraded. The new section says so explicitly, so anyone investigating "users are being asked to sign in more often since 2026.8" lands on the answer.

AKQL typed JSON values

#24028 gave JSONSearchField value_types = [str, bool, int, float, Decimal], so JSON fields now match Booleans and numbers rather than only strings. The JSON and nested fields section showed only string comparisons, so nothing was wrong — it just did not say the capability exists. Adds a note and two examples.

🤖 Generated with Claude Code

@dominic-r
dominic-r requested a review from a team as a code owner August 13, 2026 15:37
@netlify

netlify Bot commented Aug 13, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit f792419
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6a99f026f61409000794251a
😎 Deploy Preview https://deploy-preview-25079--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 Aug 13, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit f792419
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a99f02660aa8b0008a6525c
😎 Deploy Preview https://deploy-preview-25079--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 Aug 13, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.71%. Comparing base (f78f304) to head (f792419).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #25079      +/-   ##
==========================================
+ Coverage   91.54%   91.71%   +0.17%     
==========================================
  Files        1154     1154              
  Lines       73568    73568              
  Branches     4054     4054              
==========================================
+ Hits        67348    67475     +127     
+ Misses       6178     6051     -127     
  Partials       42       42              
Flag Coverage Δ
conformance 34.37% <ø> (+<0.01%) ⬆️
e2e 39.03% <ø> (+0.08%) ⬆️
integration 30.97% <ø> (+<0.01%) ⬆️
rust 42.92% <ø> (ø)
unit 93.26% <ø> (+1.12%) ⬆️
unit-migrate 93.28% <ø> (+0.46%) ⬆️

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 Aug 13, 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-f7924199f00dbebc73f0eb60167e8e81cd295256
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-f7924199f00dbebc73f0eb60167e8e81cd295256

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


An SP can set the `ForceAuthn` attribute on its `AuthnRequest` to require that the user authenticates again, even when they already have a valid authentik session.

authentik honors this attribute. When an incoming `AuthnRequest` sets `ForceAuthn="true"`, the user is sent through the provider's authentication flow before the SSO flow continues, in the same way that `prompt=login` behaves for OAuth 2.0 and OpenID Connect providers. Once the user has re-authenticated, the SSO flow proceeds normally.

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.

Suggested change
authentik honors this attribute. When an incoming `AuthnRequest` sets `ForceAuthn="true"`, the user is sent through the provider's authentication flow before the SSO flow continues, in the same way that `prompt=login` behaves for OAuth 2.0 and OpenID Connect providers. Once the user has re-authenticated, the SSO flow proceeds normally.
authentik honors this attribute. When an incoming `AuthnRequest` sets `ForceAuthn="true"`, the user is sent through the provider's authentication flow before the SSO flow continues. If the provider does not have an authentication flow configured, authentik uses the authentication flow configured for the associated brand. This behaves similarly to `prompt=login` for OAuth 2.0 and OpenID Connect providers. Once the user has re-authenticated, the SSO flow proceeds normally.

I assume?

@dewi-tik dewi-tik added the backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8 label Aug 13, 2026
@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core Aug 13, 2026
@dominic-r dominic-r self-assigned this Aug 13, 2026
@dominic-r dominic-r added the area:docs Features or issues related to Docusaurus label Aug 13, 2026
@dominic-r
dominic-r force-pushed the dominic/docs-2026-8-behavior-changes branch from 29cb46b to f792419 Compare September 3, 2026 22:09
@dominic-r
dominic-r requested a review from dewi-tik September 3, 2026 22:13
@dewi-tik
dewi-tik merged commit e0345c8 into main Sep 4, 2026
236 of 238 checks passed
@dewi-tik
dewi-tik deleted the dominic/docs-2026-8-behavior-changes branch September 4, 2026 07:00
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Sep 4, 2026
@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

🍒 Cherry-pick to version-2026.8 created: #25754

BeryJu pushed a commit that referenced this pull request Sep 8, 2026
…pick #25079 to version-2026.8) (#25754)

website/docs: document ForceAuthn and typed AKQL JSON values (#25079)

Co-authored-by: Dominic Roy <[email protected]>
Co-authored-by: Dewi Roberts <[email protected]>
kensternberg-authentik added a commit that referenced this pull request Sep 8, 2026
* main: (45 commits)
  enterprise/providers/ws_federation: fix SAML Version casing (#25764)
  web/admin: oauth provider: explain what happens when no signing key is selected (#25756)
  lib/expression: fix PickleError due to resolver match when using ak_call_policy (#25763)
  website/docs: correct authenticator stage deletion behavior (#25070)
  ci: bump docker/setup-qemu-action from 4.2.0 to 4.3.0 (#25749)
  core: bump selenium from 4.47.0 to 4.48.0 (#25745)
  core: bump library/nginx from `db3099a` to `05b8cb6` in /website (#25747)
  admin/files: make file search case-insensitive (#25736)
  core: explicitly check is_active in auth backends (#25729)
  ci: bump helm/kind-action from 1.14.0 to 1.15.0 (#25750)
  core: bump aws-cdk-lib from 2.266.0 to 2.267.0 (#25748)
  lib: avoid DNS resolution in fqdn_rand (#25728)
  website/docs: add instructions on how to collect user attributes during enrollment (#25717)
  core: bump rust-toolchain from 1.98.0 to 1.98.1 (#25740)
  core: bump tower-http from 0.7.0 to 0.7.1 (#25753)
  core: bump cachetools from 7.1.7 to 7.1.8 (#25742)
  core: bump the types group with 2 updates (#25739)
  core: bump psycopg[c,pool] from 3.3.4 to 3.3.5 (#25741)
  website/docs: document ForceAuthn and typed AKQL JSON values (#25079)
  web: fix switches in table toolbars (#25730)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs Features or issues related to Docusaurus backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants