Refactor Authelia configuration: restructure identity validation section and update session cookie settings for improved clarity

This commit is contained in:
Mohmmed Elfateh Sabry
2025-08-11 02:38:33 +03:00
parent 061977aae3
commit 7a67faec74

View File

@@ -20,11 +20,11 @@ theme: auto
default_redirection_url: "https://traefik.gate.3launchpad.com/" default_redirection_url: "https://traefik.gate.3launchpad.com/"
######################################################### #########################################################
# Secrets (use env vars in production) # Identity Validation
######################################################### #########################################################
# Prefer env vars: identity_validation:
# AUTHELIA_JWT_SECRET, AUTHELIA_SESSION_SECRET, AUTHELIA_STORAGE_ENCRYPTION_KEY reset_password:
jwt_secret: "changeme_jwt_secret" jwt_secret: "changeme_jwt_secret"
######################################################### #########################################################
# Authentication Backend (local file) # Authentication Backend (local file)
@@ -75,12 +75,14 @@ access_control:
######################################################### #########################################################
session: session:
name: authelia_session name: authelia_session
domain: "gate.3launchpad.com" same_site: lax
same_site: lax # <- fixed (was 'Lax')
expiration: 1h expiration: 1h
inactivity: 30m inactivity: 30m
remember_me_duration: 1M # deprecated but auto-mapped; safe to keep remember_me: 1M
secret: "changeme_session_secret" secret: "changeme_session_secret"
cookies:
- domain: "gate.3launchpad.com"
authelia_url: "https://auth.gate.3launchpad.com"
redis: redis:
host: redis host: redis
port: 6379 port: 6379