fix: update Authelia configuration for v4.38+ compatibility
- Use modern server.address syntax instead of host/port - Add identity_validation.reset_password.jwt_secret (deprecates jwt_secret) - Update session to use cookies array with secret - Fix session.remember_me_duration to remember_me
This commit is contained in:
@@ -6,9 +6,7 @@
|
|||||||
theme: auto
|
theme: auto
|
||||||
|
|
||||||
server:
|
server:
|
||||||
host: 0.0.0.0
|
address: "tcp://:9091"
|
||||||
port: 9091
|
|
||||||
path: ""
|
|
||||||
asset_path: /config/assets/
|
asset_path: /config/assets/
|
||||||
headers:
|
headers:
|
||||||
csp_template: ""
|
csp_template: ""
|
||||||
@@ -17,6 +15,10 @@ log:
|
|||||||
level: info
|
level: info
|
||||||
format: text
|
format: text
|
||||||
|
|
||||||
|
identity_validation:
|
||||||
|
reset_password:
|
||||||
|
jwt_secret: ${AUTHELIA_JWT_SECRET}
|
||||||
|
|
||||||
totp:
|
totp:
|
||||||
issuer: pivoine.art
|
issuer: pivoine.art
|
||||||
period: 30
|
period: 30
|
||||||
@@ -84,12 +86,14 @@ access_control:
|
|||||||
policy: two_factor
|
policy: two_factor
|
||||||
|
|
||||||
session:
|
session:
|
||||||
name: authelia_session
|
secret: ${AUTHELIA_SESSION_SECRET}
|
||||||
|
cookies:
|
||||||
|
- name: authelia_session
|
||||||
domain: pivoine.art
|
domain: pivoine.art
|
||||||
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: 3
|
max_retries: 3
|
||||||
|
|||||||
Reference in New Issue
Block a user