diff --git a/toolkit-showcase/app.config.js b/toolkit-showcase/app.config.js index cf4c590acb2b04995ffe0234df0143a80957c29e..286fadae3660f2452a87720fdc46708d4a21fce0 100644 --- a/toolkit-showcase/app.config.js +++ b/toolkit-showcase/app.config.js @@ -3,6 +3,7 @@ export default { basePath: '/dist/', entryPointURL: 'http://127.0.0.1:8000', keyCloakBaseURL: 'https://auth-dev.tugraz.at/auth', + keyCloakRealm: 'tugraz-vpu', keyCloakClientId: 'auth-dev-mw-frontend-local', matomoUrl: 'https://analytics.tugraz.at/', matomoSiteId: 131, @@ -13,6 +14,7 @@ export default { basePath: '/apps/demo/', entryPointURL: 'https://mw-dev.tugraz.at', keyCloakBaseURL: 'https://auth-dev.tugraz.at/auth', + keyCloakRealm: 'tugraz-vpu', keyCloakClientId: 'demo-dev_tugraz_at-DEMO', matomoUrl: 'https://analytics.tugraz.at/', matomoSiteId: 131, diff --git a/toolkit-showcase/assets/dbp-toolkit-showcase.html.ejs b/toolkit-showcase/assets/dbp-toolkit-showcase.html.ejs index e04658f2d4a1c035eb21e1cbd34b7e7f5bd2d50a..393ff138220e3f00995077cab9ee103f84590d41 100644 --- a/toolkit-showcase/assets/dbp-toolkit-showcase.html.ejs +++ b/toolkit-showcase/assets/dbp-toolkit-showcase.html.ejs @@ -72,7 +72,7 @@ src="<%= getUrl(name + '.topic.metadata.json') %>" lang="en" base-path="<%= getUrl('') %>" - keycloak-config='{"url": "<%= keyCloakBaseURL %>", "realm": "tugraz", "clientId": "<%= keyCloakClientId %>", "silentCheckSsoRedirectUri": "<%= getUrl('silent-check-sso.html') %>"}' + keycloak-config='{"url": "<%= keyCloakBaseURL %>", "realm": "<%= keyCloakRealm %>", "clientId": "<%= keyCloakClientId %>", "silentCheckSsoRedirectUri": "<%= getUrl('silent-check-sso.html') %>"}' matomo-url="<%= matomoUrl %>" matomo-site-id="<%= matomoSiteId %>" git-info='<%= buildInfo.info %>' build-url='<%= buildInfo.url %>' diff --git a/toolkit-showcase/rollup.config.js b/toolkit-showcase/rollup.config.js index c61fb2819be03bc40dee698b8103825474959752..c621f6571241e28802542338c264b6cb6b8f0cee 100644 --- a/toolkit-showcase/rollup.config.js +++ b/toolkit-showcase/rollup.config.js @@ -35,6 +35,7 @@ if (appEnv in appConfig) { basePath: '/', entryPointURL: 'https://test', keyCloakBaseURL: 'https://test', + keyCloakRealm: '', keyCloakClientId: '', matomoUrl: '', matomoSiteId: -1, @@ -102,6 +103,7 @@ export default (async () => { nextcloudFileURL: config.nextcloudFileURL, nextcloudName: config.nextcloudName, keyCloakBaseURL: config.keyCloakBaseURL, + keyCloakRealm: config.keyCloakRealm, keyCloakClientId: config.keyCloakClientId, CSP: config.CSP, matomoUrl: config.matomoUrl,