Add Oauth Server as variables (#2224)

This commit is contained in:
Víctor Romero
2024-12-19 15:28:22 -06:00
committed by GitHub
parent bf1d99f494
commit a21bd622e7
8 changed files with 97 additions and 22 deletions
+4 -3
View File
@@ -24,8 +24,9 @@ export const environment = {
apiVersion: window['env']['apiVersion'] || '/v1',
serverUrl: '',
oauth: {
enabled: false, // For connecting to Mifos X using OAuth2 Authentication change the value to true
serverUrl: ''
enabled: window['env']['oauthServerEnabled'] || false, // For connecting to Mifos X using OAuth2 Authentication change the value to true
serverUrl: window['env']['oauthServerUrl'] || '',
appId: window['env']['oauthAppId'] || ''
},
warningDialog: {
title: 'Warning',
@@ -53,4 +54,4 @@ export const environment = {
// Server URL
environment.serverUrl = `${environment.baseApiUrl}${environment.apiProvider}${environment.apiVersion}`;
environment.oauth.serverUrl = `${environment.baseApiUrl}${environment.apiProvider}`;