1
0
Fork 0

fix jellyfin and nextcloud-server after changes to lib

This commit is contained in:
ibizaman 2024-02-29 21:52:49 -08:00 committed by Pierre Penninckx
parent 937902a7f0
commit 8c2373430d
2 changed files with 4 additions and 4 deletions

View file

@ -351,21 +351,21 @@ in
shblib.replaceSecretsScript {
file = ldapConfig;
resultPath = "/var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml";
userConfig = {
replacements = {
"%LDAP_PASSWORD%" = "$(cat ${cfg.ldapPasswordFile})";
};
}
+ shblib.replaceSecretsScript {
file = ssoConfig;
resultPath = "/var/lib/jellyfin/plugins/configurations/SSO-Auth.xml";
userConfig = {
replacements = {
"%SSO_SECRET%" = "$(cat ${cfg.ssoSecretFile})";
};
}
+ shblib.replaceSecretsScript {
file = brandingConfig;
resultPath = "/var/lib/jellyfin/config/branding.xml";
userConfig = {
replacements = {
"%a%" = "%a%";
};
};

View file

@ -863,7 +863,7 @@ in
id = cfg.apps.sso.clientID;
description = "Nextcloud";
secret.source = cfg.apps.sso.secretFileForAuthelia;
public = "false";
public = false;
authorization_policy = cfg.apps.sso.authorization_policy;
redirect_uris = [ "${protocol}://${fqdnWithPort}/apps/oidc_login/oidc" ];
scopes = [