authelia: Set OIDC consent duration
By default, Authelia requires the user to explicitly consent to allow an application access to personal information *every time the user authenticates*. This is rather annoying, so luckily, it provides a way to remember the consent for a period of time.
This commit is contained in:
@@ -38,6 +38,7 @@ identity_providers:
|
|||||||
- email
|
- email
|
||||||
- offline_access
|
- offline_access
|
||||||
authorization_policy: one_factor
|
authorization_policy: one_factor
|
||||||
|
pre_configured_consent_duration: 7d
|
||||||
- id: kubernetes
|
- id: kubernetes
|
||||||
description: Kubernetes
|
description: Kubernetes
|
||||||
public: true
|
public: true
|
||||||
@@ -45,6 +46,7 @@ identity_providers:
|
|||||||
- http://localhost:8000
|
- http://localhost:8000
|
||||||
- http://localhost:18000
|
- http://localhost:18000
|
||||||
authorization_policy: one_factor
|
authorization_policy: one_factor
|
||||||
|
pre_configured_consent_duration: 7d
|
||||||
|
|
||||||
log:
|
log:
|
||||||
level: trace
|
level: trace
|
||||||
|
|||||||
Reference in New Issue
Block a user