From eefbbf1e920764a0244f77a80262d9f682d34963 Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Wed, 21 Jun 2023 08:13:48 +0000 Subject: Make ui configurable via environment variables Issue-ID: PORTALNG-4 Signed-off-by: Fiete Ostkamp Change-Id: I31b968cef23c7727cfd8cfb2ba65691745a0b8f3 --- src/environments/environment.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/environments/environment.ts') diff --git a/src/environments/environment.ts b/src/environments/environment.ts index 80d0005..9b734c6 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -29,11 +29,11 @@ import { Environment } from '../app/model/environment.model'; export const environment: Environment = { customStyleEnabled: true, backendServerUrl: window.location.origin + '/api', - keycloakEditProfile: `${window.location.origin}/auth/realms/ONAP/account`, hostname: window.location.hostname, production: false, keycloak: { - issuer: `${window.location.origin}/auth/realms/ONAP`, // Url of the Identity Provider + hostname: window.location.origin, // Url of the Identity Provider + realm: 'ONAP', redirectUri: window.location.origin, // URL of the SPA to redirect the user to after login clientId: 'portal-app', // The Frontend is registered with this id at the auth-server responseType: 'code', -- cgit 1.2.3-korg