From 2005e7d1b4ee34f2caa95d4877ae583fd0b4b6b6 Mon Sep 17 00:00:00 2001
From: Homada Boumedane <homada.boumedane@unige.ch>
Date: Tue, 9 Jul 2019 15:22:10 +0200
Subject: [PATCH] refactor(dlcm-portal): default environment

refactor default config environment
---
 src/environments/environment.defaults.ts | 34 ++++++++++++------------
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/src/environments/environment.defaults.ts b/src/environments/environment.defaults.ts
index d95d31333..85373434b 100644
--- a/src/environments/environment.defaults.ts
+++ b/src/environments/environment.defaults.ts
@@ -20,23 +20,23 @@ export const defaultEnvironment = {
   STORAGION_APPLICATION: "https://to-set/storagion",
 
   // OAuth2 properties
-  oauthOidc: false,
-  oauthRequestAccessToken: true,
-  oauthTokenEndpoint: "http://localhost/dlcm/authorization/token",
-  oauthDummyClientSecret: "123abc",
-  oauthClientId: "local-dev-angular",
-  oauthResponseType: "token",
-  oauthScope: "READ",
-  oauthRequireHttps: false,
-  oauthLoginUrl: "http://localhost/dlcm/authorization/authorize",
-  oauthAllowedUrls: ["/api/"],
-  oauthRedirectUrl: window.location.origin,
-  oauthTimeoutFactor: 0.75,
-  oauthPostLogoutRedirectUri: "",
-  oauthLogoutUrl: "",
-  oauthNonceStateSeparator: ";",
-  oauthDisableNonceCheck: false,
-  oauthSendAccessToken: true,
+  oidc: false,
+  requestAccessToken: true,
+  tokenEndpoint: "http://localhost/dlcm/authorization/token",
+  dummyClientSecret: "123abc",
+  clientId: "local-dev-angular",
+  responseType: "token",
+  scope: "READ",
+  requireHttps: false,
+  loginUrl: "http://localhost/dlcm/authorization/authorize",
+  allowedUrls: ["/api/"],
+  redirectUrl: window.location.origin,
+  timeoutFactor: 0.75,
+  postLogoutRedirectUri: "",
+  logoutUrl: "",
+  nonceStateSeparator: ";",
+  disableNonceCheck: false,
+  sendAccessToken: true,
 
   // Others
   defaultNotificationErrorDurationInSeconds: 5,
-- 
GitLab