gerd.authelia: add example forgejo configuration
This commit is contained in:
parent
a7508ae8af
commit
115ca9f4f0
1 changed files with 23 additions and 0 deletions
|
@ -51,6 +51,29 @@ 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";
|
||||||
|
|
||||||
|
# # authelia crypto hash generate pbkdf2 --variant sha512 --random --random.length 72 --random.charset rfc3986
|
||||||
|
# secret = "$pbkdf2-sha512$310000$cOGtLwMHyfugAJCIiUUjfQ$ao7zC8QB1m8aTGNf1dxYbRAPivZ0G1eaJ4bNFVfJiTFZX06U5baBjT0emvoaeFHXMFbYHzorb2/8vxnY/D0b5Q";
|
||||||
|
|
||||||
|
# public = false;
|
||||||
|
# authorization_policy = "one_factor";
|
||||||
|
# redirect_uris = [ "https://git.fricloud.dk/user/oauth2/authelia/callback" ];
|
||||||
|
# scopes = [
|
||||||
|
# "openid"
|
||||||
|
# "email"
|
||||||
|
# "profile"
|
||||||
|
# ];
|
||||||
|
|
||||||
|
# userinfo_signing_algorithm = "none";
|
||||||
|
# # userinfo_signed_response_alg = "none";
|
||||||
|
# # token_endpoint_auth_method = "client_secret_basic";
|
||||||
|
# }];
|
||||||
|
|
||||||
|
|
||||||
services.nginx.virtualHosts."auth.fricloud.dk" = {
|
services.nginx.virtualHosts."auth.fricloud.dk" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
|
Loading…
Reference in a new issue