From 7a67faec747089eccadaf82598d0c605ed4c9e06 Mon Sep 17 00:00:00 2001 From: Mohmmed Elfateh Sabry <59346303+elfateh4@users.noreply.github.com> Date: Mon, 11 Aug 2025 02:38:33 +0300 Subject: [PATCH] Refactor Authelia configuration: restructure identity validation section and update session cookie settings for improved clarity --- authelia/configuration.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/authelia/configuration.yml b/authelia/configuration.yml index 31d760f..3703adf 100644 --- a/authelia/configuration.yml +++ b/authelia/configuration.yml @@ -20,11 +20,11 @@ theme: auto default_redirection_url: "https://traefik.gate.3launchpad.com/" ######################################################### -# Secrets (use env vars in production) +# Identity Validation ######################################################### -# Prefer env vars: -# AUTHELIA_JWT_SECRET, AUTHELIA_SESSION_SECRET, AUTHELIA_STORAGE_ENCRYPTION_KEY -jwt_secret: "changeme_jwt_secret" +identity_validation: + reset_password: + jwt_secret: "changeme_jwt_secret" ######################################################### # Authentication Backend (local file) @@ -75,12 +75,14 @@ access_control: ######################################################### session: name: authelia_session - domain: "gate.3launchpad.com" - same_site: lax # <- fixed (was 'Lax') + same_site: lax expiration: 1h inactivity: 30m - remember_me_duration: 1M # deprecated but auto-mapped; safe to keep + remember_me: 1M secret: "changeme_session_secret" + cookies: + - domain: "gate.3launchpad.com" + authelia_url: "https://auth.gate.3launchpad.com" redis: host: redis port: 6379