add nextcloud oidc
This commit is contained in:
1
todos.md
Normal file
1
todos.md
Normal file
@@ -0,0 +1 @@
|
|||||||
|
move modules for hosts into respecting hosts directory so not every host gets rebuilded when one module changes
|
||||||
@@ -156,6 +156,21 @@
|
|||||||
];
|
];
|
||||||
userinfo_signing_algorithm = "none";
|
userinfo_signing_algorithm = "none";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
id = "nextcloud";
|
||||||
|
description = "Nextcloud";
|
||||||
|
secret = "$pbkdf2-sha512$310000$UqX35Fh.7uTZLQqD.mk5wg$e139D4g9SGUFc.ZdKt3RAZljC8A7C9nixUQd7rQoHFMKop643SuwfazjNn0ehdyAjydM2zV.KzKnMLgSajo.xw";
|
||||||
|
public = false;
|
||||||
|
authorization_policy = "one_factor";
|
||||||
|
redirect_uris = [ "https://nextcloud.cloonar.com/apps/oidc_login/oidc" ];
|
||||||
|
pre_configured_consent_duration = "1y";
|
||||||
|
scopes = [
|
||||||
|
"openid"
|
||||||
|
"profile"
|
||||||
|
"email"
|
||||||
|
];
|
||||||
|
userinfo_signing_algorithm = "none";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -13,7 +13,11 @@
|
|||||||
# Instead of using pkgs.nextcloud27Packages.apps,
|
# Instead of using pkgs.nextcloud27Packages.apps,
|
||||||
# we'll reference the package version specified above
|
# we'll reference the package version specified above
|
||||||
extraApps = with config.services.nextcloud.package.packages.apps; {
|
extraApps = with config.services.nextcloud.package.packages.apps; {
|
||||||
inherit contacts calendar tasks;
|
inherit contacts calendar tasks deck;
|
||||||
|
oidc_login = pkgs.fetchNextcloudApp rec {
|
||||||
|
url = "https://github.com/pulsejet/nextcloud-oidc-login/releases/download/v2.6.0/oidc_login.tar.gz";
|
||||||
|
sha256 = "sha256-MZ/Pgqrb8Y9aH1vd3BfuPhfLOmYyZQO2xVasdj+rCo4=";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
extraAppsEnable = true;
|
extraAppsEnable = true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user