From 4b1fb3669dcd4cf681d421d94aaf4927c3332732 Mon Sep 17 00:00:00 2001 From: Homada Boumedane <homada.boumedane@unige.ch> Date: Tue, 9 Jul 2019 14:29:50 +0200 Subject: [PATCH] chore(dlcm-portal): config local environment config local environment --- src/environments/environment.local.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/environments/environment.local.ts b/src/environments/environment.local.ts index 46da06fbf..d0dc07121 100644 --- a/src/environments/environment.local.ts +++ b/src/environments/environment.local.ts @@ -1,7 +1,15 @@ // This file should not be committed // It should only contains specific configuration for a dev on his local environment - import {defaultEnvironment} from "./environment.defaults"; export const environmentLocal: typeof defaultEnvironment | any = { + tokenEndpoint: "https://localhost/dlcm-authorization/oauth/token", + dummyClientSecret: "123abc", + clientId: "local-dev-angular", + responseType: "token", + scope: "READ", + requireHttps: false, + loginUrl: "https://localhost/dlcm-authorization/oauth/authorize", + allowedUrls: ["/api/"], + redirectUrl: window.location.origin, }; -- GitLab