From fe67299dfd33ad5f20afea15a5a3825873a03e57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Wed, 24 Jan 2024 16:10:40 +0100 Subject: [PATCH] fixes --- oauth2/outputs.tf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/oauth2/outputs.tf b/oauth2/outputs.tf index da1c7b4..547ba8e 100644 --- a/oauth2/outputs.tf +++ b/oauth2/outputs.tf @@ -5,12 +5,15 @@ 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" { +output "sso_userinfo_url" { value = "https://${data.kubernetes_ingress_v1.authentik.spec[0].rule[0].host}/application/o/userinfo/" } -output "sso_authorize" { +output "sso_authorize_url" { value = "https://${data.kubernetes_ingress_v1.authentik.spec[0].rule[0].host}/application/o/authorize/" } +output "sso_token_url" { + value = "https://${data.kubernetes_ingress_v1.authentik.spec[0].rule[0].host}/application/o/token/" +} output "client_id" { value = data.kubernetes_secret_v1.oauth2-client-id.data["client-id"] }