Skip to content
Snippets Groups Projects
Commit 7ba8e977 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Define more keycloak related constants

parent edefc7f9
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,8 @@ switch(environment) { ...@@ -7,6 +7,8 @@ switch(environment) {
config = { config = {
apiBaseUrl: 'https://mw-dev.tugraz.at', apiBaseUrl: 'https://mw-dev.tugraz.at',
apiUrlPrefix: '', apiUrlPrefix: '',
keyCloakBaseURL: 'https://auth-dev.tugraz.at/auth',
keyCloakRealm: 'tugraz',
keyCloakClientId: 'auth-dev-mw-frontend', keyCloakClientId: 'auth-dev-mw-frontend',
//sentryDSN: 'http://0405d811e8d746cca2e70f6eff764570@129.27.166.25:9000/2', //sentryDSN: 'http://0405d811e8d746cca2e70f6eff764570@129.27.166.25:9000/2',
}; };
...@@ -16,6 +18,8 @@ switch(environment) { ...@@ -16,6 +18,8 @@ switch(environment) {
config = { config = {
apiBaseUrl: 'https://mw.tugraz.at', apiBaseUrl: 'https://mw.tugraz.at',
apiUrlPrefix: '', apiUrlPrefix: '',
keyCloakBaseURL: 'https://auth-dev.tugraz.at/auth',
keyCloakRealm: 'tugraz',
keyCloakClientId: 'auth-prod-mw-frontend', keyCloakClientId: 'auth-prod-mw-frontend',
}; };
break; break;
...@@ -23,6 +27,8 @@ switch(environment) { ...@@ -23,6 +27,8 @@ switch(environment) {
config = { config = {
apiBaseUrl: 'https://api-demo.tugraz.at', apiBaseUrl: 'https://api-demo.tugraz.at',
apiUrlPrefix: '', apiUrlPrefix: '',
keyCloakBaseURL: 'https://auth-dev.tugraz.at/auth',
keyCloakRealm: 'tugraz',
keyCloakClientId: 'auth-dev-mw-frontend', keyCloakClientId: 'auth-dev-mw-frontend',
}; };
break; break;
...@@ -31,6 +37,8 @@ switch(environment) { ...@@ -31,6 +37,8 @@ switch(environment) {
config = { config = {
apiBaseUrl: 'http://127.0.0.1:8000', apiBaseUrl: 'http://127.0.0.1:8000',
apiUrlPrefix: '', apiUrlPrefix: '',
keyCloakBaseURL: 'https://auth-dev.tugraz.at/auth',
keyCloakRealm: 'tugraz',
keyCloakClientId: 'auth-dev-mw-frontend-local', keyCloakClientId: 'auth-dev-mw-frontend-local',
}; };
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment