fix jellyfin and nextcloud-server after changes to lib
This commit is contained in:
parent
937902a7f0
commit
8c2373430d
2 changed files with 4 additions and 4 deletions
|
@ -351,21 +351,21 @@ in
|
||||||
shblib.replaceSecretsScript {
|
shblib.replaceSecretsScript {
|
||||||
file = ldapConfig;
|
file = ldapConfig;
|
||||||
resultPath = "/var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml";
|
resultPath = "/var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml";
|
||||||
userConfig = {
|
replacements = {
|
||||||
"%LDAP_PASSWORD%" = "$(cat ${cfg.ldapPasswordFile})";
|
"%LDAP_PASSWORD%" = "$(cat ${cfg.ldapPasswordFile})";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
+ shblib.replaceSecretsScript {
|
+ shblib.replaceSecretsScript {
|
||||||
file = ssoConfig;
|
file = ssoConfig;
|
||||||
resultPath = "/var/lib/jellyfin/plugins/configurations/SSO-Auth.xml";
|
resultPath = "/var/lib/jellyfin/plugins/configurations/SSO-Auth.xml";
|
||||||
userConfig = {
|
replacements = {
|
||||||
"%SSO_SECRET%" = "$(cat ${cfg.ssoSecretFile})";
|
"%SSO_SECRET%" = "$(cat ${cfg.ssoSecretFile})";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
+ shblib.replaceSecretsScript {
|
+ shblib.replaceSecretsScript {
|
||||||
file = brandingConfig;
|
file = brandingConfig;
|
||||||
resultPath = "/var/lib/jellyfin/config/branding.xml";
|
resultPath = "/var/lib/jellyfin/config/branding.xml";
|
||||||
userConfig = {
|
replacements = {
|
||||||
"%a%" = "%a%";
|
"%a%" = "%a%";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -863,7 +863,7 @@ in
|
||||||
id = cfg.apps.sso.clientID;
|
id = cfg.apps.sso.clientID;
|
||||||
description = "Nextcloud";
|
description = "Nextcloud";
|
||||||
secret.source = cfg.apps.sso.secretFileForAuthelia;
|
secret.source = cfg.apps.sso.secretFileForAuthelia;
|
||||||
public = "false";
|
public = false;
|
||||||
authorization_policy = cfg.apps.sso.authorization_policy;
|
authorization_policy = cfg.apps.sso.authorization_policy;
|
||||||
redirect_uris = [ "${protocol}://${fqdnWithPort}/apps/oidc_login/oidc" ];
|
redirect_uris = [ "${protocol}://${fqdnWithPort}/apps/oidc_login/oidc" ];
|
||||||
scopes = [
|
scopes = [
|
||||||
|
|
Loading…
Reference in a new issue