Add Oauth Server as variables (#2224)
This commit is contained in:
@@ -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}`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user