Skip to content

Commit e4f42c0

Browse files
author
Dennis Labordus
committed
Fixed Keycloak config.
Signed-off-by: Dennis Labordus <[email protected]>
1 parent 0bbcbcc commit e4f42c0

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

compas/keycloak/keycloak_compas_realm.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -945,14 +945,14 @@
945945
"clientId" : "cim-mapping",
946946
"name" : "CIM Mapping",
947947
"description" : "CIM Mapping Service to convert CIM Data to SCL Data",
948-
"rootUrl" : "http://localhost/",
949-
"adminUrl" : "http://localhost/",
948+
"rootUrl" : "http://##COMPAS_HOSTNAME##/",
949+
"adminUrl" : "http://##COMPAS_HOSTNAME##/",
950950
"surrogateAuthRequired" : false,
951951
"enabled" : true,
952952
"alwaysDisplayInConsole" : false,
953953
"clientAuthenticatorType" : "client-secret",
954-
"redirectUris" : [ "http://localhost/*" ],
955-
"webOrigins" : [ "http://localhost" ],
954+
"redirectUris" : [ "http://##COMPAS_HOSTNAME##/*" ],
955+
"webOrigins" : [ "http://##COMPAS_HOSTNAME##" ],
956956
"notBefore" : 0,
957957
"bearerOnly" : false,
958958
"consentRequired" : false,
@@ -1008,14 +1008,14 @@
10081008
}, {
10091009
"id" : "ace17366-e696-4821-9f24-89b797acb736",
10101010
"clientId" : "openscd",
1011-
"rootUrl" : "http://localhost/",
1012-
"adminUrl" : "http://localhost/",
1011+
"rootUrl" : "http://##COMPAS_HOSTNAME##/",
1012+
"adminUrl" : "http://##COMPAS_HOSTNAME##/",
10131013
"surrogateAuthRequired" : false,
10141014
"enabled" : true,
10151015
"alwaysDisplayInConsole" : false,
10161016
"clientAuthenticatorType" : "client-secret",
1017-
"redirectUris" : [ "http://localhost/*" ],
1018-
"webOrigins" : [ "http://localhost" ],
1017+
"redirectUris" : [ "http://##COMPAS_HOSTNAME##/*" ],
1018+
"webOrigins" : [ "http://##COMPAS_HOSTNAME##" ],
10191019
"notBefore" : 0,
10201020
"bearerOnly" : false,
10211021
"consentRequired" : false,
@@ -1099,14 +1099,14 @@
10991099
"clientId" : "scl-auto-alignment",
11001100
"name" : "SCL Auto Alignment Service",
11011101
"description" : "The SCL Auto Alignment Service for calculating XY Coordinates",
1102-
"rootUrl" : "http://localhost/",
1103-
"adminUrl" : "http://localhost/",
1102+
"rootUrl" : "http://##COMPAS_HOSTNAME##/",
1103+
"adminUrl" : "http://##COMPAS_HOSTNAME##/",
11041104
"surrogateAuthRequired" : false,
11051105
"enabled" : true,
11061106
"alwaysDisplayInConsole" : false,
11071107
"clientAuthenticatorType" : "client-secret",
1108-
"redirectUris" : [ "http://localhost/*" ],
1109-
"webOrigins" : [ "http://localhost" ],
1108+
"redirectUris" : [ "http://##COMPAS_HOSTNAME##/*" ],
1109+
"webOrigins" : [ "http://##COMPAS_HOSTNAME##" ],
11101110
"notBefore" : 0,
11111111
"bearerOnly" : false,
11121112
"consentRequired" : false,
@@ -1164,14 +1164,14 @@
11641164
"clientId" : "scl-data-service",
11651165
"name" : "SCL Data Service",
11661166
"description" : "The SCL Data Service for storing / retrieving SCLs",
1167-
"rootUrl" : "http://localhost/",
1168-
"adminUrl" : "http://localhost/",
1167+
"rootUrl" : "http://##COMPAS_HOSTNAME##/",
1168+
"adminUrl" : "http://##COMPAS_HOSTNAME##/",
11691169
"surrogateAuthRequired" : false,
11701170
"enabled" : true,
11711171
"alwaysDisplayInConsole" : false,
11721172
"clientAuthenticatorType" : "client-secret",
1173-
"redirectUris" : [ "http://localhost/*" ],
1174-
"webOrigins" : [ "http://localhost" ],
1173+
"redirectUris" : [ "http://##COMPAS_HOSTNAME##/*" ],
1174+
"webOrigins" : [ "http://##COMPAS_HOSTNAME##" ],
11751175
"notBefore" : 0,
11761176
"bearerOnly" : false,
11771177
"consentRequired" : false,
@@ -1229,14 +1229,14 @@
12291229
"clientId" : "scl-validator",
12301230
"name" : "SCL Validator Service",
12311231
"description" : "The SCL Validator Service to validate SCL Files",
1232-
"rootUrl" : "http://localhost/",
1233-
"adminUrl" : "http://localhost/",
1232+
"rootUrl" : "http://##COMPAS_HOSTNAME##/",
1233+
"adminUrl" : "http://##COMPAS_HOSTNAME##/",
12341234
"surrogateAuthRequired" : false,
12351235
"enabled" : true,
12361236
"alwaysDisplayInConsole" : false,
12371237
"clientAuthenticatorType" : "client-secret",
1238-
"redirectUris" : [ "http://localhost/*" ],
1239-
"webOrigins" : [ "http://localhost" ],
1238+
"redirectUris" : [ "http://##COMPAS_HOSTNAME##/*" ],
1239+
"webOrigins" : [ "http://##COMPAS_HOSTNAME##" ],
12401240
"notBefore" : 0,
12411241
"bearerOnly" : false,
12421242
"consentRequired" : false,

0 commit comments

Comments
 (0)