gerd.authelia: updated configs to newest version

This commit is contained in:
eyjhb 2024-08-21 13:12:41 +02:00
parent 0814c7b85f
commit e3114fb300
Signed by: eyjhb
GPG key ID: 609F508E3239F920
3 changed files with 19 additions and 19 deletions

View file

@ -96,14 +96,13 @@ in {
# example configuration for forgejo. Should live in forgejo.nix if needed
services.authelia.instances.main.settings.identity_providers.oidc.clients = [{
id = "forgejo";
description = "Forgejo";
client_id = "forgejo";
client_name = "Forgejo";
# authelia crypto hash generate pbkdf2 --variant sha512 --random --random.length 72 --random.charset rfc3986
secret = "$pbkdf2-sha512$310000$cOGtLwMHyfugAJCIiUUjfQ$ao7zC8QB1m8aTGNf1dxYbRAPivZ0G1eaJ4bNFVfJiTFZX06U5baBjT0emvoaeFHXMFbYHzorb2/8vxnY/D0b5Q";
client_secret = "$pbkdf2-sha512$310000$cOGtLwMHyfugAJCIiUUjfQ$ao7zC8QB1m8aTGNf1dxYbRAPivZ0G1eaJ4bNFVfJiTFZX06U5baBjT0emvoaeFHXMFbYHzorb2/8vxnY/D0b5Q";
public = false;
authorization_policy = "one_factor";
redirect_uris = [ "https://${config.mine.shared.settings.forgejo.domain}/user/oauth2/${AUTHELIA_AUTH_NAME}/callback" ];
scopes = [
"openid"
@ -111,6 +110,6 @@ in {
"profile"
];
userinfo_signing_algorithm = "none";
userinfo_signed_response_alg = "none";
}];
}