From e70e06c929c0369312d50c3f5dac29a3d89a3068 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Wed, 24 Jan 2024 15:04:44 +0100 Subject: [PATCH] adding user configuration path as output for oauth2 modules --- oauth2/outputs.tf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/oauth2/outputs.tf b/oauth2/outputs.tf index bd5e0ae..ff68fe7 100644 --- a/oauth2/outputs.tf +++ b/oauth2/outputs.tf @@ -5,6 +5,9 @@ output "provider-id" { output "sso_configuration_url" { value = "https://${data.kubernetes_ingress_v1.authentik.spec[0].rule[0].host}/application/o/${var.component}-${var.instance}" } +output "sso_userinfo" { + value = "https://${data.kubernetes_ingress_v1.authentik.spec[0].rule[0].host}/application/o/userinfo/" +} output "client_id" { value = data.kubernetes_secret_v1.oauth2-client-id.data["client-id"] }