Update consent duration
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -89,7 +89,7 @@ in
|
||||
"email"
|
||||
"is_admin"
|
||||
];
|
||||
pre_configured_consent_duration = "1 month";
|
||||
pre_configured_consent_duration = "1 year";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
@@ -196,7 +196,7 @@ in
|
||||
client_secret = hmConfig.sops.placeholder."gitea/authelia/digest";
|
||||
redirect_uris = [ "https://git.karaolidis.com/user/oauth2/authelia/callback" ];
|
||||
authorization_policy = "gitea";
|
||||
pre_configured_consent_duration = "1 month";
|
||||
pre_configured_consent_duration = "1 year";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ in
|
||||
authorization_policy = "admin_one_factor";
|
||||
require_pkce = true;
|
||||
pkce_challenge_method = "S256";
|
||||
pre_configured_consent_duration = "1 month";
|
||||
pre_configured_consent_duration = "1 year";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
@@ -137,7 +137,7 @@ in
|
||||
"groups"
|
||||
"is_admin"
|
||||
];
|
||||
pre_configured_consent_duration = "1 month";
|
||||
pre_configured_consent_duration = "1 year";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
@@ -65,7 +65,7 @@ in
|
||||
];
|
||||
response_types = [ "code" ];
|
||||
token_endpoint_auth_method = "client_secret_post";
|
||||
pre_configured_consent_duration = "1 month";
|
||||
pre_configured_consent_duration = "1 year";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
@@ -64,7 +64,7 @@ in
|
||||
"offline_access"
|
||||
];
|
||||
response_types = [ "code" ];
|
||||
pre_configured_consent_duration = "1 month";
|
||||
pre_configured_consent_duration = "1 year";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
Reference in New Issue
Block a user