Authelia: add storage encryption_key, drop deprecated jwt_secret and duplicate redirection url

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
Ezequiel C. 2026-09-11 00:08:59 +02:00
parent 3c994af96b
commit 87e5c0f069
2 changed files with 7 additions and 9 deletions

View file

@ -1,9 +1,9 @@
# Authelia configuration — https://www.authelia.com/configuration/prologue/introduction/ # Authelia configuration — https://www.authelia.com/configuration/prologue/introduction/
# #
# Secrets (JWT_SECRET, RESET_JWT_SECRET, SESSION_SECRET, LDAP_ADMIN_PASSWORD, # Secrets (RESET_JWT_SECRET, SESSION_SECRET, LDAP_ADMIN_PASSWORD,
# OIDC_HMAC_SECRET, OIDC_PORTAINER_SECRET) are resolved from the service's .env # OIDC_HMAC_SECRET, OIDC_PORTAINER_SECRET, STORAGE_ENCRYPTION_KEY) are resolved
# by the installer and substituted into this file on install/update, so they are # from the service's .env by the installer and substituted into this file on
# not committed here. # install/update, so they are not committed here.
# #
# The OIDC signing key (jwks) cannot be injected via env/file secrets (Authelia # The OIDC signing key (jwks) cannot be injected via env/file secrets (Authelia
# does not support that for this field), so it is read from /config/oidc-jwks.pem # does not support that for this field), so it is read from /config/oidc-jwks.pem
@ -12,8 +12,6 @@
theme: dark theme: dark
jwt_secret: '${JWT_SECRET}'
server: server:
address: 'tcp://0.0.0.0:9091/' address: 'tcp://0.0.0.0:9091/'
endpoints: endpoints:
@ -64,7 +62,6 @@ session:
cookies: cookies:
- domain: 'example.com' - domain: 'example.com'
authelia_url: 'https://auth.example.com' authelia_url: 'https://auth.example.com'
default_redirection_url: 'https://auth.example.com'
regulation: regulation:
max_retries: 3 max_retries: 3
@ -72,6 +69,7 @@ regulation:
ban_time: '5m' ban_time: '5m'
storage: storage:
encryption_key: '${STORAGE_ENCRYPTION_KEY}'
local: local:
path: '/config/db.sqlite3' path: '/config/db.sqlite3'

View file

@ -33,8 +33,8 @@
}, },
"env": [ "env": [
{ {
"name": "JWT_SECRET", "name": "STORAGE_ENCRYPTION_KEY",
"label": "JWT secret (auto-generated)", "label": "Storage encryption key (auto-generated)",
"generate": true "generate": true
}, },
{ {