summary refs log tree commit diff
path: root/nixos/modules/services/security/oauth2_proxy.nix
diff options
context:
space:
mode:
authorBenjamin Staffin <benley@gmail.com>2022-03-20 13:31:43 -0400
committerGitHub <noreply@github.com>2022-03-20 13:31:43 -0400
commit81b63b6ef6f2e7e2d9adea64d744d1975e6b8860 (patch)
treece8e9abf45a333a4cb1d35f6033583c287a460ad /nixos/modules/services/security/oauth2_proxy.nix
parent3aa72cc4711262ca414bdf66d02d6194680b6e53 (diff)
downloadnixpkgs-81b63b6ef6f2e7e2d9adea64d744d1975e6b8860.tar
nixpkgs-81b63b6ef6f2e7e2d9adea64d744d1975e6b8860.tar.gz
nixpkgs-81b63b6ef6f2e7e2d9adea64d744d1975e6b8860.tar.bz2
nixpkgs-81b63b6ef6f2e7e2d9adea64d744d1975e6b8860.tar.lz
nixpkgs-81b63b6ef6f2e7e2d9adea64d744d1975e6b8860.tar.xz
nixpkgs-81b63b6ef6f2e7e2d9adea64d744d1975e6b8860.tar.zst
nixpkgs-81b63b6ef6f2e7e2d9adea64d744d1975e6b8860.zip
nixos/oauth2_proxy: add missing oidc providers (#164632)
- Add adfs and keycloak-oidc providrs
- Sort the list alphabetically
Diffstat (limited to 'nixos/modules/services/security/oauth2_proxy.nix')
-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 4d356242417..ce295bd4ba3 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";