summaryrefslogtreecommitdiffstats
path: root/src/app/modules
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-06-21 08:13:48 +0000
committerFiete Ostkamp <fiete.ostkamp@telekom.de>2023-06-21 08:16:29 +0000
commiteefbbf1e920764a0244f77a80262d9f682d34963 (patch)
tree5f04aad4ca12ca6f62ae9951174a9f7107b3fc41 /src/app/modules
parentd68841d9f75636575cd778838a8ceea5fd5aada3 (diff)
Make ui configurable via environment variables
Issue-ID: PORTALNG-4 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I31b968cef23c7727cfd8cfb2ba65691745a0b8f3
Diffstat (limited to 'src/app/modules')
-rw-r--r--src/app/modules/auth/auth.config.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/modules/auth/auth.config.ts b/src/app/modules/auth/auth.config.ts
index 3414edd..8f8035e 100644
--- a/src/app/modules/auth/auth.config.ts
+++ b/src/app/modules/auth/auth.config.ts
@@ -22,7 +22,7 @@ import { environment } from '../../../environments/environment';
export const authConfig: AuthConfig = {
// Url of the Identity Provider
- issuer: environment.keycloak.issuer,
+ issuer: `${environment.keycloak.hostname}/auth/realms/${environment.keycloak.realm}`,
// URL of the SPA to redirect the user to after login
redirectUri: environment.keycloak.redirectUri,