From 3f1fa86d7d517a72ee0e03b0238a658f59471427 Mon Sep 17 00:00:00 2001
From: Varac <varac@varac.net>
Date: Thu, 29 Jul 2021 12:11:21 +0200
Subject: [PATCH] Fix wekan OIDC config

---
 flux2/apps/wekan/release.yaml | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/flux2/apps/wekan/release.yaml b/flux2/apps/wekan/release.yaml
index 2040f95a0..e9d65b506 100644
--- a/flux2/apps/wekan/release.yaml
+++ b/flux2/apps/wekan/release.yaml
@@ -48,15 +48,15 @@ spec:
       - name: "OAUTH2_TOKEN_ENDPOINT"
         value: "/oauth2/token"
       - name: "OAUTH2_REQUEST_PERMISSIONS"
-        value: "email profile openid openappstack_roles offline_access"
-      # - name: "OAUTH2_ID_MAP"
-      #   value: "preferred_username"
-      # - name: "OAUTH2_USERNAME_MAP"
-      #   value: "preferred_username"
-      # - name: "OAUTH2_FULLNAME_MAP"
-      #   value: "name"
-      # - name: "OAUTH2_EMAIL_MAP"
-      #   value: "email"
+        value: "email profile openid"
+      - name: "OAUTH2_ID_MAP"
+        value: "sub"
+      - name: "OAUTH2_USERNAME_MAP"
+        value: "preferred_username"
+      - name: "OAUTH2_FULLNAME_MAP"
+        value: "name"
+      - name: "OAUTH2_EMAIL_MAP"
+        value: "email"
     ## Specify additional secret environmental variables for the
     ## Deployment. These can e.g. be provided by a Secret and allow
     ## to store passwords separately
-- 
GitLab