Update consent duration

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-09-29 18:18:50 +01:00
parent 2f286e25bc
commit 81b3faaf3e
6 changed files with 6 additions and 6 deletions

View File

@@ -89,7 +89,7 @@ in
"email" "email"
"is_admin" "is_admin"
]; ];
pre_configured_consent_duration = "1 month"; pre_configured_consent_duration = "1 year";
} }
]; ];
}; };

View File

@@ -196,7 +196,7 @@ in
client_secret = hmConfig.sops.placeholder."gitea/authelia/digest"; client_secret = hmConfig.sops.placeholder."gitea/authelia/digest";
redirect_uris = [ "https://git.karaolidis.com/user/oauth2/authelia/callback" ]; redirect_uris = [ "https://git.karaolidis.com/user/oauth2/authelia/callback" ];
authorization_policy = "gitea"; authorization_policy = "gitea";
pre_configured_consent_duration = "1 month"; pre_configured_consent_duration = "1 year";
} }
]; ];
}; };

View File

@@ -33,7 +33,7 @@ in
authorization_policy = "admin_one_factor"; authorization_policy = "admin_one_factor";
require_pkce = true; require_pkce = true;
pkce_challenge_method = "S256"; pkce_challenge_method = "S256";
pre_configured_consent_duration = "1 month"; pre_configured_consent_duration = "1 year";
} }
]; ];
} }

View File

@@ -137,7 +137,7 @@ in
"groups" "groups"
"is_admin" "is_admin"
]; ];
pre_configured_consent_duration = "1 month"; pre_configured_consent_duration = "1 year";
} }
]; ];
}; };

View File

@@ -65,7 +65,7 @@ in
]; ];
response_types = [ "code" ]; response_types = [ "code" ];
token_endpoint_auth_method = "client_secret_post"; token_endpoint_auth_method = "client_secret_post";
pre_configured_consent_duration = "1 month"; pre_configured_consent_duration = "1 year";
} }
]; ];
}; };

View File

@@ -64,7 +64,7 @@ in
"offline_access" "offline_access"
]; ];
response_types = [ "code" ]; response_types = [ "code" ];
pre_configured_consent_duration = "1 month"; pre_configured_consent_duration = "1 year";
} }
]; ];
}; };