summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2022-03-21 14:38:28 -0400
committerGitHub <noreply@github.com>2022-03-21 14:38:28 -0400
commit9eb4e563db159f858ced3565d74805533e08bd80 (patch)
treed3484135bea5beefcca4f477fb3aaa0233bc1267
parentlinuxPackages.lttng-modules: 2.13.1 -> 2.13.2 (diff)
downloadnixpkgs-9eb4e563db159f858ced3565d74805533e08bd80.tar.gz
nixos/oauth2_proxy: add missing oidc providers (#165000)
- Add adfs and keycloak-oidc providrs - Sort the list alphabetically (cherry picked from commit eef56691e374ae4de2c6f3f51feb5c9be895d932) Co-authored-by: Benjamin Staffin <benley@gmail.com>
-rw-r--r--nixos/modules/services/security/oauth2_proxy.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/nixos/modules/services/security/oauth2_proxy.nix b/nixos/modules/services/security/oauth2_proxy.nix
index 4d3562424170..ce295bd4ba3b 100644
--- a/nixos/modules/services/security/oauth2_proxy.nix
+++ b/nixos/modules/services/security/oauth2_proxy.nix
@@ -102,17 +102,19 @@ in
# Taken from: https://github.com/oauth2-proxy/oauth2-proxy/blob/master/providers/providers.go
provider = mkOption {
type = types.enum [
- "google"
+ "adfs"
"azure"
+ "bitbucket"
+ "digitalocean"
"facebook"
"github"
- "keycloak"
"gitlab"
+ "google"
+ "keycloak"
+ "keycloak-oidc"
"linkedin"
"login.gov"
- "bitbucket"
"nextcloud"
- "digitalocean"
"oidc"
];
default = "google";