1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

chore: generate and use new secrets

This commit is contained in:
oddlama 2023-08-27 01:19:03 +02:00
parent 7c48e51320
commit 0b8de70330
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
5 changed files with 36 additions and 1 deletions

View file

@ -46,7 +46,6 @@
redeemURL = "https://${config.networking.providedDomains.kanidm}/oauth2/token";
validateURL = "https://${config.networking.providedDomains.kanidm}/oauth2/openid/${clientId}/userinfo";
clientID = clientId;
keyFile = config.age.secrets.oauth2-cookie-secret.path;
email.domains = ["*"];
extraConfig = {
@ -55,4 +54,9 @@
#skip-provider-button = true;
};
};
systemd.services.oauth2_proxy.serviceConfig.EnvironmentFile = [
config.age.secrets.oauth2-cookie-secret.path
config.age.secrets.oauth2-client-secret.path
];
}