From 680ec434282ddb8360cc30861647504c5f7bf187 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sat, 14 Oct 2023 14:04:38 +0800 Subject: [PATCH] hosts/plover: fix Vouch proxy settings --- hosts/plover/modules/services/vouch-proxy.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/plover/modules/services/vouch-proxy.nix b/hosts/plover/modules/services/vouch-proxy.nix index abaf73d5..c1ef3437 100644 --- a/hosts/plover/modules/services/vouch-proxy.nix +++ b/hosts/plover/modules/services/vouch-proxy.nix @@ -33,9 +33,9 @@ in client_id = "vouch"; client_secret._secret = config.sops.secrets."vouch-proxy/client/secret".path; code_challenge_method = "S256"; - auth_url = "${authDomain}/ui/oauth2"; - token_url = "${authDomain}/oauth2/token"; - user_info_url = "${authDomain}/oauth2/openid/${client_id}/userinfo"; + auth_url = "https://${authDomain}/ui/oauth2"; + token_url = "https://${authDomain}/oauth2/token"; + user_info_url = "https://${authDomain}/oauth2/openid/${client_id}/userinfo"; scopes = [ "openid" "email" "profile" ]; callback_url = "https://${vouchDomain}/auth"; };