From 81b63b6ef6f2e7e2d9adea64d744d1975e6b8860 Mon Sep 17 00:00:00 2001 From: Benjamin Staffin Date: Sun, 20 Mar 2022 13:31:43 -0400 Subject: [PATCH] nixos/oauth2_proxy: add missing oidc providers (#164632) - Add adfs and keycloak-oidc providrs - Sort the list alphabetically --- nixos/modules/services/security/oauth2_proxy.nix | 10 ++++++---- 1 file 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";