You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Authelia recently encountered a bug in handling of sessions that led to clearing of sessions within a short timeframe; see also: authelia/authelia#8980
While the nixpkgs version meets or exceeds the required version 4.39.1, it does not apply all required options to correct the regression. The changeset to resolve this issue is described in this pr: authelia/authelia#9004 - this includes an addition to the go build environment variables that are not handled for in the nixpkgs build process leading to the original problem still persisting.
Steps to reproduce
Setup an authelia instance as per services.authelia.instances.<name>.*
Authenticate to a downstream service, in my experience I did not even need to attempt to auth multiple times, instead API calls caused the upstream issue of a session termination.
@nicomem apologies to tag you, thanks for the update via 7407020 - I'll look to create a PR when I've got some time, but also keen to hear feedback if the resolve route I explored above would even be suitable
Nixpkgs version
Unstable (25.05)
Describe the bug
Authelia recently encountered a bug in handling of sessions that led to clearing of sessions within a short timeframe; see also: authelia/authelia#8980
While the nixpkgs version meets or exceeds the required version
4.39.1
, it does not apply all required options to correct the regression. The changeset to resolve this issue is described in this pr: authelia/authelia#9004 - this includes an addition to the go build environment variables that are not handled for in the nixpkgs build process leading to the original problem still persisting.Steps to reproduce
Setup an authelia instance as per
services.authelia.instances.<name>.*
Authenticate to a downstream service, in my experience I did not even need to attempt to auth multiple times, instead API calls caused the upstream issue of a session termination.
Expected behaviour
Authelia is does not terminate sessions as per authelia/authelia#8980
Screenshots
No response
Relevant log output
NA - even in debug mode, authelia does not note the upstream issue in my experience
Additional context
I have tested a local fix via;
Addition of the following to
sources.nix
Modification of
default.nix
to include the aboveenv
content and utilise it withinbuildGoModule
as en example:System metadata
"x86_64-linux"
Linux 6.12.19, NixOS, 25.05 (Warbler), 25.05.20250321.94c4dbe
yes
yes
nix-env (Nix) 2.24.12
Notify maintainers
Note for maintainers: Please tag this issue in your pull request description. (i.e.
Resolves #ISSUE
.)I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: