update: 2025.10.3 -> 2025.12.1
Closes #83 Closes #85 ChangeLog: https://docs.goauthentik.io/releases/2025.12 ⚠️ When using the Avatar upload, you'll have to make your users re-upload their avatars due to changes in how media is served by Authentik[1]. For now, we're using a branch from me that is 2025.12.1 with an update of `@goauthentik/api` on top[2]. Without that change, `AdminFileListUsageEnum` doesn't exist which breaks all usage of `AdminFileListUsageEnum.Media`: TypeError: can't access property "Media", R.AdminFileListUsageEnum is undefined renderForm ApplicationForm.ts:191 [...] This made e.g. the modal to edit applications unusable which infinitely hang on a loading spinner. The media path now points to `/var/lib/authentik`. This path is only used for media storage and Authentik now always appends the "usage name" as directory behind the storage path, i.e. it already appends `/var/lib/authentik/media`, so this is needed to make Authentik discover existing media. Finally, I added a `patches` attribute to the authentik scope that applies patches to both the workdir-deps (which is the PYTHONPATH in the end, i.e. where we load the authentik module from) and the gopkgs. We're still missing patchability for frontend (since we directly build the subdir in napalm), but I think that's a step in the right direction. [1] https://github.com/goauthentik/authentik/discussions/6824#discussioncomment-15490793 [2] Upstream PR: https://github.com/goauthentik/authentik/pull/19542
This commit is contained in:
parent
94c544f6cd
commit
ad2994c95f
12 changed files with 118 additions and 123 deletions
|
|
@ -3,15 +3,13 @@
|
|||
authentikComponents,
|
||||
linkFarm,
|
||||
applyPatches,
|
||||
patches,
|
||||
}:
|
||||
let
|
||||
patched-src = applyPatches {
|
||||
src = authentik-src;
|
||||
name = "patched-authentik-source";
|
||||
patches = [
|
||||
./authentik_media_upload.patch
|
||||
./authentik_media_tenant_files_migration.patch
|
||||
];
|
||||
inherit patches;
|
||||
};
|
||||
in
|
||||
linkFarm "authentik-static-workdir-deps" [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue