From 7ba8e97710aff013465ee7feaf11312253f4cfc6 Mon Sep 17 00:00:00 2001 From: Christoph Reiter <reiter.christoph@gmail.com> Date: Mon, 18 Nov 2019 13:20:20 +0100 Subject: [PATCH] Define more keycloak related constants --- packages/common/env.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/common/env.js b/packages/common/env.js index 7d23e967..dc1efb4c 100644 --- a/packages/common/env.js +++ b/packages/common/env.js @@ -7,6 +7,8 @@ switch(environment) { config = { apiBaseUrl: 'https://mw-dev.tugraz.at', apiUrlPrefix: '', + keyCloakBaseURL: 'https://auth-dev.tugraz.at/auth', + keyCloakRealm: 'tugraz', keyCloakClientId: 'auth-dev-mw-frontend', //sentryDSN: 'http://0405d811e8d746cca2e70f6eff764570@129.27.166.25:9000/2', }; @@ -16,6 +18,8 @@ switch(environment) { config = { apiBaseUrl: 'https://mw.tugraz.at', apiUrlPrefix: '', + keyCloakBaseURL: 'https://auth-dev.tugraz.at/auth', + keyCloakRealm: 'tugraz', keyCloakClientId: 'auth-prod-mw-frontend', }; break; @@ -23,6 +27,8 @@ switch(environment) { config = { apiBaseUrl: 'https://api-demo.tugraz.at', apiUrlPrefix: '', + keyCloakBaseURL: 'https://auth-dev.tugraz.at/auth', + keyCloakRealm: 'tugraz', keyCloakClientId: 'auth-dev-mw-frontend', }; break; @@ -31,6 +37,8 @@ switch(environment) { config = { apiBaseUrl: 'http://127.0.0.1:8000', apiUrlPrefix: '', + keyCloakBaseURL: 'https://auth-dev.tugraz.at/auth', + keyCloakRealm: 'tugraz', keyCloakClientId: 'auth-dev-mw-frontend-local', }; } -- GitLab