Skip to content

authentik: 2025.12.6 -> 2026.5.3#523484

Merged
dotlambda merged 1 commit into
NixOS:masterfrom
LisaScheers:authentik-2026.5.0
Jun 25, 2026
Merged

authentik: 2025.12.6 -> 2026.5.3#523484
dotlambda merged 1 commit into
NixOS:masterfrom
LisaScheers:authentik-2026.5.0

Conversation

@LisaScheers

@LisaScheers LisaScheers commented May 23, 2026

Copy link
Copy Markdown
Contributor

Update authentik to 2026.5.3.

Changelog: https://docs.goauthentik.io/releases/2026.5
GitHub release: https://github.com/goauthentik/authentik/releases/tag/version%2F2026.5.3

Notable packaging changes:

  • switch authentik to Python 3.14, matching upstream's requirement
  • build the new Rust authentik worker/all-in-one binary and include it in the ak wrapper runtime path
  • build the Go server as authentik-server, matching upstream's lifecycle/ak lookup, while keeping an authentik -> authentik-server compatibility symlink in the proxy output
  • use a clang stdenv for the Rust worker because aws-lc-fips-sys fails its FIPS delocation step with the default GCC stdenv
  • use the generated Go client from the authentik monorepo under packages/client-go
  • update the generated Go and TypeScript clients and hashes
  • remove the obsolete client-go patch now included upstream
  • remove local Python dependency overrides; nixpkgs now has the required djangorestframework, twilio, and dramatiq versions
  • add a release note for the upstream breaking listen-address default change

Automation disclosure: this PR was prepared with assistance from OpenAI Codex, with manual review and validation before submission.

Things done

Notes:

  • Previously built .#authentik and .#authentik.outposts.{ldap,proxy,radius} on both x86_64-linux and aarch64-linux.
  • Previously ran nixpkgs-review pr 523484 --package authentik --package authentik.outposts.ldap --package authentik.outposts.proxy --package authentik.outposts.radius on x86_64-linux and aarch64-linux; 4 packages built on each platform.
  • After the Rust worker and server-wrapper changes, built authentik.worker, authentik.proxy, and authentik with NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1 nix-build ... --system x86_64-linux --max-jobs 0.
  • Checked the generated ak wrapper includes the worker path before the proxy path, so ak worker resolves the Rust authentik binary while direct users of authentik.proxy/bin/authentik keep working.
  • Verified that plain rustPlatform.buildRustPackage with the default GCC stdenv fails in aws-lc-fips-sys; the clang stdenv override builds successfully.
  • Ran git diff --check.
  • Evaluated pkgs.authentik.version as 2026.5.3.
  • Evaluated dependency versions from nixpkgs: djangorestframework 3.17.1, twilio 9.10.9, dramatiq 2.1.0.
  • Built authentik.proxy.goModules with NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1 nix-build -A authentik.proxy.goModules --no-out-link.
  • I did not find an existing authentik NixOS test in nixos/tests.
  • ak --help starts the wrapper, but authentik bootstrap requires runtime configuration/PostgreSQL, so I am not marking binary functionality as fully tested.

@LisaScheers LisaScheers force-pushed the authentik-2026.5.0 branch from b90b061 to 917fe94 Compare May 23, 2026 23:30
@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (update) This PR updates a package to a newer version 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 12.first-time contribution This PR is the author's first one; please be gentle! 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation labels May 23, 2026
@LisaScheers LisaScheers force-pushed the authentik-2026.5.0 branch from 917fe94 to 5105c5e Compare May 23, 2026 23:44
@LisaScheers LisaScheers marked this pull request as ready for review May 24, 2026 00:20
@nixpkgs-ci nixpkgs-ci Bot requested review from jvanbruegge and rissson May 24, 2026 01:17

@dotlambda dotlambda left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Let's first update to 2025.12.5 in #523691 because that fixes CVE-2026-40165 and is backportable.

Comment thread pkgs/by-name/au/authentik/package.nix Outdated
Comment thread pkgs/by-name/au/authentik/package.nix Outdated
Comment thread pkgs/by-name/au/authentik/package.nix Outdated
Comment thread pkgs/by-name/au/authentik/package.nix Outdated
@LisaScheers LisaScheers marked this pull request as draft May 25, 2026 09:10
@LisaScheers

Copy link
Copy Markdown
Contributor Author

noted and ongoing. sorry first time contributing so still figuring out the way to go.

@jvanbruegge

jvanbruegge commented May 25, 2026

Copy link
Copy Markdown
Contributor

You can rebase onto the current master, @dotlambda did the update to 2025.12.5

@LisaScheers LisaScheers force-pushed the authentik-2026.5.0 branch from 5105c5e to fc77ffe Compare May 25, 2026 10:37
@LisaScheers LisaScheers changed the title authentik: 2025.12.4 -> 2026.5.0 authentik: 2025.12.5 -> 2026.5.0 May 25, 2026
@LisaScheers

LisaScheers commented May 26, 2026

Copy link
Copy Markdown
Contributor Author

@LisaScheers LisaScheers force-pushed the authentik-2026.5.0 branch 3 times, most recently from cf8b1b0 to 221cfa8 Compare May 28, 2026 22:45
@nixpkgs-ci nixpkgs-ci Bot removed the 12.first-time contribution This PR is the author's first one; please be gentle! label May 28, 2026
@LisaScheers LisaScheers force-pushed the authentik-2026.5.0 branch 2 times, most recently from 3573a2e to a5b60f9 Compare May 28, 2026 22:53
@LisaScheers LisaScheers changed the title authentik: 2025.12.5 -> 2026.5.0 authentik: 2025.12.5 -> 2026.5.2 May 28, 2026
@LisaScheers LisaScheers force-pushed the authentik-2026.5.0 branch from a5b60f9 to 48ff562 Compare May 30, 2026 21:26
@LisaScheers LisaScheers deleted the authentik-2026.5.0 branch May 30, 2026 21:28
@LisaScheers LisaScheers restored the authentik-2026.5.0 branch May 30, 2026 21:30
@nixpkgs-ci nixpkgs-ci Bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Jun 23, 2026
@dotlambda dotlambda changed the title authentik: 2025.12.5 -> 2026.5.3 authentik: 2025.12.6 -> 2026.5.3 Jun 23, 2026

@dotlambda dotlambda left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please update the commit message.

Comment thread pkgs/by-name/au/authentik/package.nix Outdated
Comment thread pkgs/by-name/au/authentik/package.nix
Comment thread pkgs/by-name/au/authentik/package.nix Outdated
@LisaScheers LisaScheers force-pushed the authentik-2026.5.0 branch 2 times, most recently from c74282e to 3abd74a Compare June 23, 2026 16:10
@nixpkgs-review-gha

Copy link
Copy Markdown

nixpkgs-review result

Generated using nixpkgs-review-gha (620301f)

Command: nixpkgs-review pr 523484
Commit: 3abd74a64615306d7f9e31e1a606c92535ff4852 (subsequent changes)
Merge: fcbac864c29080c01381110972109d6b523f4fe5

Triggered by @LisaScheers (34404302)
Logs: https://github.com/LisaScheers/nixpkgs-review-gha/actions/runs/28064743962/attempts/1


x86_64-linux

⏩ 2 packages blacklisted:
  • nixos-install-tools
  • tests.nixos-functions.nixos-test
❌ 1 package failed to build:
  • authentik
✅ 3 packages built:
  • authentik-outposts.ldap
  • authentik-outposts.proxy
  • authentik-outposts.radius

aarch64-linux

⏩ 2 packages blacklisted:
  • nixos-install-tools
  • tests.nixos-functions.nixos-test
❌ 1 package failed to build:
  • authentik
✅ 3 packages built:
  • authentik-outposts.ldap
  • authentik-outposts.proxy
  • authentik-outposts.radius

Comment thread nixos/doc/manual/release-notes/rl-2611.section.md
Comment thread pkgs/by-name/au/authentik/package.nix Outdated
@nixpkgs-review-gha

Copy link
Copy Markdown

nixpkgs-review result

Generated using nixpkgs-review-gha (620301f)

Command: nixpkgs-review pr 523484
Commit: 4efa9ee325ecd00a99cdc269ab0c0acffd912e3f (subsequent changes)
Merge: 96f4bca813267f93ba7a513589a08439fe2c3cca

Triggered by @LisaScheers (34404302)
Logs: https://github.com/LisaScheers/nixpkgs-review-gha/actions/runs/28094227995/attempts/1


x86_64-linux

⏩ 2 packages blacklisted:
  • nixos-install-tools
  • tests.nixos-functions.nixos-test
❌ 1 package failed to build:
  • authentik
✅ 3 packages built:
  • authentik-outposts.ldap
  • authentik-outposts.proxy
  • authentik-outposts.radius

aarch64-linux

⏩ 2 packages blacklisted:
  • nixos-install-tools
  • tests.nixos-functions.nixos-test
❌ 1 package failed to build:
  • authentik
✅ 3 packages built:
  • authentik-outposts.ldap
  • authentik-outposts.proxy
  • authentik-outposts.radius

@nixpkgs-review-gha

Copy link
Copy Markdown

nixpkgs-review result

Generated using nixpkgs-review-gha (620301f)

Command: nixpkgs-review pr 523484
Commit: db98a87d60e0d56ca54e69f206442cccef5cfa92 (subsequent changes)
Merge: c31e30c686e8eeae654752624271570f11cbe4a4

Triggered by @LisaScheers (34404302)
Logs: https://github.com/LisaScheers/nixpkgs-review-gha/actions/runs/28095689793/attempts/1


x86_64-linux

⏩ 2 packages blacklisted:
  • nixos-install-tools
  • tests.nixos-functions.nixos-test
✅ 4 packages built:
  • authentik
  • authentik-outposts.ldap
  • authentik-outposts.proxy
  • authentik-outposts.radius

aarch64-linux

⏩ 2 packages blacklisted:
  • nixos-install-tools
  • tests.nixos-functions.nixos-test
✅ 4 packages built:
  • authentik
  • authentik-outposts.ldap
  • authentik-outposts.proxy
  • authentik-outposts.radius

@LisaScheers LisaScheers requested a review from dotlambda June 24, 2026 12:46

@dotlambda dotlambda left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I didn't look at the update script. Would you mind leaving that for a separate PR?

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jun 25, 2026
@LisaScheers

Copy link
Copy Markdown
Contributor Author

I didn't look at the update script. Would you mind leaving that for a separate PR?

on it

@dotlambda dotlambda added this pull request to the merge queue Jun 25, 2026
Merged via the queue into NixOS:master with commit 58528b6 Jun 25, 2026
27 checks passed
@LisaScheers LisaScheers deleted the authentik-2026.5.0 branch June 25, 2026 20:03
@jvanbruegge

Copy link
Copy Markdown
Contributor

I tried updating my personal setup, but encounter an error:

error: build of '/nix/store/spvnnkd8iwywaqalsql9251ni7n4iy2d-authentik-webui-deps-2026.5.3.drv^*' failed: hash mismatch in fixed-output derivation '/nix/store/spvnnkd8iwywaqalsql9251ni7n4iy2d-authentik-webui-deps-2026.5.3.drv':
         specified: sha256-FpfOl6wNCgXLg86+vbjnYkcOnpaOZBCNxJiFDRT5W3s=
            got:    sha256-p6xjAinU2Isl/uYgoJuacqHN7jBnbWam40J6AQudbtQ=

@LisaScheers LisaScheers mentioned this pull request Jun 29, 2026
13 tasks
@B4dM4n

B4dM4n commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Sadly, this seems currently to be unavoidable, unless we pin the deps folder name to the nodejs version: #492436 (comment)

The update from nodejs-24.15.0 to nodejs-24.16.0 changed the list of installed packages:

old -> /nix/store/phjj6m5sc2j42sfszsydaviqnwjz17z2-authentik-webui-deps-2026.5.3
new -> /nix/store/dqhdhv5gp03sx7fb85i9c333bs4cgy6s-authentik-webui-deps-2026.5.3
# LC_ALL=C.utf-8 diff -ru old/ new/
Only in old/node_modules: @emnapi
diff: old/node_modules/@goauthentik/api: No such file or directory
Only in old/node_modules/@napi-rs: wasm-runtime
Only in old/node_modules: @tybys
diff: old/node_modules/formdata-polyfill: No such file or directory
diff: old/node_modules/lex: No such file or directory
diff: old/node_modules/node-domexception: No such file or directory

(No such file or directory is the result of a broken symlink to the packages folder)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation 8.has: package (update) This PR updates a package to a newer version 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

6 participants