From d353d5d24d7bda895ade6a5ec4ae93701c54b7fd Mon Sep 17 00:00:00 2001
From: xeruf <27jf@pm.me>
Date: Mon, 1 Jul 2024 11:37:31 +0300
Subject: [PATCH] apps/status: fix oidc redirect url

---
 apps/status/gatus/gatus-oauth-client.yaml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/apps/status/gatus/gatus-oauth-client.yaml b/apps/status/gatus/gatus-oauth-client.yaml
index 99509b3..ca26c97 100644
--- a/apps/status/gatus/gatus-oauth-client.yaml
+++ b/apps/status/gatus/gatus-oauth-client.yaml
@@ -5,7 +5,6 @@ metadata:
   # Has to live in the same namespace as the stackspin-gatus-oauth-variables secret
   namespace: flux-system
 spec:
-  # TODO copied from wekan: https://github.com/wekan/wekan/wiki/Keycloak
   grantTypes:
     - authorization_code
     - refresh_token
@@ -16,6 +15,6 @@ spec:
     - code
   scope: "openid profile email stackspin_roles"
   secretName: stackspin-gatus-oauth-variables
-  #redirectUris:
-  #  - https://${gatus_domain}/oauth/openid/
+  redirectUris:
+    - "https://${gatus_domain}/authorization-code/callback"
   #tokenEndpointAuthMethod: client_secret_post
-- 
GitLab