Skip to content

Commit 20b2afe

Browse files
author
Robin Lenz
committed
fix lowcode dashboard auth
1 parent 4ef5efd commit 20b2afe

File tree

4 files changed

+34
-17
lines changed

4 files changed

+34
-17
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"name": "processcube_deployment",
3-
"version": "1.9.0",
3+
"version": "1.9.1",
44
"description": "Deployment Repository of ProcessCube"
55
}

sample/overlays/dev/authority/config.json

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,24 @@
2525
"redirect_uris": ["https://app.sample.dev.5minds.cloud"]
2626
},
2727
{
28-
"clientId": "nodered",
29-
"clientSecret": "79C29A79-607D-452B-B4CA-AF79BF0D44E9",
30-
"scope": "openid email profile",
31-
"grant_types": ["authorization_code", "refresh_token"],
32-
"response_types": ["code"],
33-
"redirect_uris": [
34-
"https://nodered.sampleapp.dev.5minds.cloud/auth/strategy/callback",
35-
"https://nodered.sampleapp.dev.5minds.cloud/auth/dashboard/callback"
36-
],
37-
"post_logout_redirect_uris": ["https://nodered.sampleapp.dev.5minds.cloud"],
38-
"corsOrigins": ["https://nodered.sampleapp.dev.5minds.cloud"]
28+
"clientId": "LowCodeEditorClient",
29+
"clientSecret": "79C29A79-607D-452B-B4CA-AF79BF0D44E9",
30+
"scope": "openid email profile nodered lanes engine_read engine_write",
31+
"grant_types": ["authorization_code", "refresh_token"],
32+
"response_types": ["code"],
33+
"redirect_uris": ["https://lowcode.sampleapp.dev.5minds.cloud/auth/strategy/callback"],
34+
"post_logout_redirect_uris": ["https://lowcode.sampleapp.dev.5minds.cloud/"],
35+
"corsOrigins": ["https://lowcode.sampleapp.dev.5minds.cloud"]
36+
},
37+
{
38+
"clientId": "LowCodeDashboardClient",
39+
"clientSecret": "05844EF2-08B9-473D-8FD1-9A96289F5304",
40+
"scope": "openid email profile lanes engine_read engine_write engine_admin",
41+
"grant_types": ["authorization_code", "refresh_token"],
42+
"response_types": ["code"],
43+
"redirect_uris": ["https://lowcode.sampleapp.dev.5minds.cloud/auth/dashboard/callback"],
44+
"post_logout_redirect_uris": ["https://lowcode.sampleapp.dev.5minds.cloud/dashboard"],
45+
"corsOrigins": ["https://lowcode.sampleapp.dev.5minds.cloud"]
3946
}
4047
],
4148
"database": {

sample/overlays/dev/lowcode/deployment-patch.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,24 @@
77
path: "/spec/template/spec/containers/0/env/-" #resource we want to change
88
value:
99
name: NODERED_BASE_URL
10-
value: "https://nodered.sampleapp.dev.5minds.cloud"
10+
value: "https://lowcode.sampleapp.dev.5minds.cloud"
1111
- op: add #action
1212
path: "/spec/template/spec/containers/0/env/-" #resource we want to change
1313
value:
1414
name: NODERED_CLIENT_ID
15-
value: "nodered"
15+
value: "LowCodeEditorClient"
1616
- op: add #action
1717
path: "/spec/template/spec/containers/0/env/-" #resource we want to change
1818
value:
1919
name: NODERED_CLIENT_SECRET
20-
value: "79C29A79-607D-452B-B4CA-AF79BF0D44E9"
20+
value: "79C29A79-607D-452B-B4CA-AF79BF0D44E9"
21+
- op: add #action
22+
path: "/spec/template/spec/containers/0/env/-" #resource we want to change
23+
value:
24+
name: NODERED_DASHBOARD_CLIENT_ID
25+
value: "LowCodeDashboardClient"
26+
- op: add #action
27+
path: "/spec/template/spec/containers/0/env/-" #resource we want to change
28+
value:
29+
name: NODERED_DASHBOARD_CLIENT_SECRET
30+
value: "05844EF2-08B9-473D-8FD1-9A96289F5304"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
- op: replace #action
22
path: "/spec/rules/0/host" #resource we want to change
3-
value: nodered.sampleapp.dev.5minds.cloud
3+
value: lowcode.sampleapp.dev.5minds.cloud
44
- op: replace #action
55
path: "/spec/tls/0/hosts/0" #resource we want to change
6-
value: nodered.sampleapp.dev.5minds.cloud
6+
value: lowcode.sampleapp.dev.5minds.cloud

0 commit comments

Comments
 (0)