feat(login): add login authentication and authorization (#122)
Add login basic authentication, oauth2 authentication, two factor authentication and authorization and allow to reset password on expiry. Fixes #117, #118, #119, #120
This commit is contained in:
@@ -4,10 +4,22 @@ import env from './.env';
|
||||
export const environment = {
|
||||
production: true,
|
||||
version: env.npm_package_version,
|
||||
fineractPlatformTenantId: 'default', // For connecting the API running elsewhere update the tenant identifier
|
||||
baseApiUrl: 'https://demo.openmf.org', // For connecting the API running elsewhere update the base API URL
|
||||
apiProvider: '/fineract-provider/api',
|
||||
apiVersion: '/v1',
|
||||
serverUrl: '',
|
||||
oauth: {
|
||||
enabled: false, // For connecting to Mifos X using OAuth2 Authentication change the value to true
|
||||
serverUrl: ''
|
||||
},
|
||||
defaultLanguage: 'en-US',
|
||||
supportedLanguages: [
|
||||
'en-US',
|
||||
'fr-FR'
|
||||
]
|
||||
};
|
||||
|
||||
// Server URL
|
||||
environment.serverUrl = `${environment.baseApiUrl}${environment.apiProvider}${environment.apiVersion}`;
|
||||
environment.oauth.serverUrl = `${environment.baseApiUrl}${environment.apiProvider}`;
|
||||
|
||||
@@ -9,10 +9,22 @@ import env from './.env';
|
||||
export const environment = {
|
||||
production: false,
|
||||
version: env.npm_package_version + '-dev',
|
||||
fineractPlatformTenantId: 'default', // For connecting the API running elsewhere update the tenant identifier
|
||||
baseApiUrl: 'https://demo.openmf.org', // For connecting the API running elsewhere update the base API URL
|
||||
apiProvider: '/fineract-provider/api',
|
||||
apiVersion: '/v1',
|
||||
serverUrl: '',
|
||||
oauth: {
|
||||
enabled: false, // For connecting to Mifos X using OAuth2 Authentication change the value to true
|
||||
serverUrl: ''
|
||||
},
|
||||
defaultLanguage: 'en-US',
|
||||
supportedLanguages: [
|
||||
'en-US',
|
||||
'fr-FR'
|
||||
]
|
||||
};
|
||||
|
||||
// Server URL
|
||||
environment.serverUrl = `${environment.baseApiUrl}${environment.apiProvider}${environment.apiVersion}`;
|
||||
environment.oauth.serverUrl = `${environment.baseApiUrl}${environment.apiProvider}`;
|
||||
|
||||
Reference in New Issue
Block a user