WEB-487: Add OAuth 2.1 PKCE flow (#2864)
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
/* tslint:disable */
|
||||
export default {
|
||||
'mifos_x': {
|
||||
'version': '251204',
|
||||
'hash': '925391ff'
|
||||
'version': '251211',
|
||||
'hash': 'g667887c5f'
|
||||
},
|
||||
'allow_switching_backend_instance': true
|
||||
};
|
||||
|
||||
@@ -26,9 +26,14 @@ export const environment = {
|
||||
apiActuator: loadedEnv.apiActuator || '/fineract-provider',
|
||||
serverUrl: '',
|
||||
oauth: {
|
||||
enabled: loadedEnv['oauthServerEnabled'] || false, // For connecting to Mifos X using OAuth2 Authentication change the value to true
|
||||
serverUrl: loadedEnv['oauthServerUrl'] || '',
|
||||
appId: loadedEnv['oauthAppId'] || ''
|
||||
enabled: loadedEnv.oauthServerEnabled === true,
|
||||
serverUrl: loadedEnv.oauthServerUrl || '',
|
||||
logoutUrl: loadedEnv.oauthServerLogoutUrl || '',
|
||||
appId: loadedEnv.oauthAppId || '',
|
||||
authorizeUrl: loadedEnv.oauthAuthorizeUrl || '',
|
||||
tokenUrl: loadedEnv.oauthTokenUrl || '',
|
||||
redirectUri: loadedEnv.oauthRedirectUri || '',
|
||||
scope: loadedEnv.oauthScope || ''
|
||||
},
|
||||
/** Feature flag for Remember Me functionality */
|
||||
enableRememberMe: false,
|
||||
@@ -66,7 +71,7 @@ export const environment = {
|
||||
minPasswordLength: loadedEnv['minPasswordLength'] || 12,
|
||||
|
||||
OIDC: {
|
||||
oidcServerEnabled: window['env']['oidcServerEnabled'] || false,
|
||||
oidcServerEnabled: window['env']['oidcServerEnabled'] === true || window['env']['oidcServerEnabled'] === 'true',
|
||||
oidcBaseUrl: window['env']['oidcBaseUrl'] || '',
|
||||
oidcClientId: window['env']['oidcClientId'] || '',
|
||||
oidcApiUrl: window['env']['oidcApiUrl'] || '',
|
||||
|
||||
@@ -32,9 +32,14 @@ export const environment = {
|
||||
/** Feature flag for Remember Me functionality */
|
||||
enableRememberMe: false,
|
||||
oauth: {
|
||||
enabled: loadedEnv.oauthServerEnabled || false, // For connecting to Mifos X using OAuth2 Authentication change the value to true
|
||||
enabled: loadedEnv.oauthServerEnabled === true,
|
||||
serverUrl: loadedEnv.oauthServerUrl || '',
|
||||
appId: loadedEnv.oauthAppId || ''
|
||||
logoutUrl: loadedEnv.oauthServerLogoutUrl || '',
|
||||
appId: loadedEnv.oauthAppId || '',
|
||||
authorizeUrl: loadedEnv.oauthAuthorizeUrl || '',
|
||||
tokenUrl: loadedEnv.oauthTokenUrl || '',
|
||||
redirectUri: loadedEnv.oauthRedirectUri || '',
|
||||
scope: loadedEnv.oauthScope || ''
|
||||
},
|
||||
warningDialog: {
|
||||
title: 'Warning',
|
||||
@@ -70,7 +75,7 @@ export const environment = {
|
||||
minPasswordLength: loadedEnv.minPasswordLength || 12,
|
||||
|
||||
OIDC: {
|
||||
oidcServerEnabled: window['env']['oidcServerEnabled'] || false,
|
||||
oidcServerEnabled: window['env']['oidcServerEnabled'] === true || window['env']['oidcServerEnabled'] === 'true',
|
||||
oidcBaseUrl: window['env']['oidcBaseUrl'] || '',
|
||||
oidcClientId: window['env']['oidcClientId'] || '',
|
||||
oidcApiUrl: window['env']['oidcApiUrl'] || '',
|
||||
|
||||
Reference in New Issue
Block a user