From 1e869f35797fe3f390860e6434a3d338a67603f7 Mon Sep 17 00:00:00 2001 From: kat witch Date: Fri, 10 Sep 2021 04:15:27 +0100 Subject: [PATCH] weh, --- config/modules/nixos/monitoring.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/modules/nixos/monitoring.nix b/config/modules/nixos/monitoring.nix index bdc3434b..9f4db219 100644 --- a/config/modules/nixos/monitoring.nix +++ b/config/modules/nixos/monitoring.nix @@ -137,9 +137,9 @@ in AUTH_GENERIC_OAUTH_NAME = "Keycloak"; AUTH_GENERIC_OAUTH_CLIENT_ID = "grafana"; AUTH_GENERIC_OAUTH_ALLOW_SIGN_UP = "true"; - AUTH_GENERIC_OAUTH_AUTH_URL = "https://auth.kittywit.ch/auth/realms/kittywitch/protocol/openid-connect/auth"; - AUTH_GENERIC_OAUTH_TOKEN_URL = "https://auth.kittywit.ch/auth/realms/kittywitch/protocol/openid-connect/token"; - AUTH_GENERIC_OAUTH_API_URL = "https://auth.kittywit.ch/auth/realms/kittywitch/protocol/openid-connect/userinfo"; + AUTH_GENERIC_OAUTH_AUTH_URL = "https://auth.${config.network.dns.domain}/auth/realms/kittywitch/protocol/openid-connect/auth"; + AUTH_GENERIC_OAUTH_TOKEN_URL = "https://auth.${config.network.dns.domain}/auth/realms/kittywitch/protocol/openid-connect/token"; + AUTH_GENERIC_OAUTH_API_URL = "https://auth.${config.network.dns.domain}/auth/realms/kittywitch/protocol/openid-connect/userinfo"; AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_PATH = "contains(realm_access.roles[*], 'Admin') && 'Admin' || contains(realm_access.roles[*], 'Editor') && 'Editor' || 'Admin'"; AUTH_GENERIC_OAUTH_SCOPES = "openid profile email"; AUTH_GENERIC_OAUTH_EMAIL_ATTRIBUTE_NAMEs = "email:primary";