modernize Authelia config to v4.39 format, add watch:true

This commit is contained in:
Claus Lohmar 2026-07-11 22:01:08 +01:00
parent d82b1a9a6b
commit b32180c268
3 changed files with 19 additions and 8 deletions

View file

@ -1,5 +1,15 @@
# Changelog # Changelog
## 0.1.0.0039 — 2026-07-11
### Changed
- Modernized Authelia config format (fixes all deprecation warnings):
- `server.address: tcp://0.0.0.0:9091` (replaces `host` + `port`)
- `identity_validation.reset_password.jwt_secret` (replaces `jwt_secret`)
- `notifier.smtp.address: submission://...` (replaces `host` + `port`)
- `authentication_backend.file.watch: true` (auto-reload on user changes)
- `session.remember_me` (replaces `remember_me_duration`)
## 0.1.0.0038 — 2026-07-11 ## 0.1.0.0038 — 2026-07-11
### Fixed ### Fixed

View file

@ -1 +1 @@
0.1.0.0038 0.1.0.0039

View file

@ -1,14 +1,16 @@
############################################################### ###############################################################
# Authelia configuration # # Authelia configuration #
############################################################### ###############################################################
host: 0.0.0.0 server:
port: 9091 address: tcp://0.0.0.0:9091
log: log:
level: info level: info
theme: dark theme: dark
identity_validation:
reset_password:
jwt_secret: {JWT_SECRET} jwt_secret: {JWT_SECRET}
default_redirection_url: https://app.{DOMAIN}/ default_redirection_url: https://app.{DOMAIN}/
@ -45,11 +47,11 @@ authentication_backend:
session: session:
name: nextworkspace_session name: nextworkspace_session
secret: {SESSION_SECRET} secret: {SESSION_SECRET}
domain: {DOMAIN} domain: "{DOMAIN}"
same_site: lax same_site: lax
expiration: 1h expiration: 1h
inactivity: 5m inactivity: 5m
remember_me_duration: 1M remember_me: 1M
regulation: regulation:
max_retries: 5 max_retries: 5
@ -63,8 +65,7 @@ storage:
notifier: notifier:
smtp: smtp:
host: "{SMTP_HOST}" address: "submission://{SMTP_HOST}:{SMTP_PORT}"
port: {SMTP_PORT}
username: "{SMTP_USER}" username: "{SMTP_USER}"
password: "{SMTP_PASS}" password: "{SMTP_PASS}"
sender: "{SMTP_USER}" sender: "{SMTP_USER}"