[ADF-3938] support for XMLHttpRequest.withCredentials flag (#4190)

* support XMLHttpRequest.withCredentials

* proper defaults and json schema updates

* remove outdated docs

* remove empty declaration from app config

* fix blob support
This commit is contained in:
Denys Vuika
2019-01-25 12:12:06 +00:00
committed by Eugenio Romano
parent 08c9b6d117
commit 5887fa1052
6 changed files with 69 additions and 32 deletions

View File

@@ -36,7 +36,8 @@ export enum AppConfigValues {
ALFRESCO_REPOSITORY_NAME = 'alfrescoRepositoryName',
LOG_LEVEL = 'logLevel',
LOGIN_ROUTE = 'loginRoute',
DISABLECSRF = 'disableCSRF'
DISABLECSRF = 'disableCSRF',
AUTH_WITH_CREDENTIALS = 'auth.withCredentials'
}
export enum Status {

View File

@@ -833,6 +833,24 @@
"OAUTH"
]
},
"baseShareUrl": {
"description": "Custom url for shared links",
"type": "string"
},
"locale": {
"description": "Default application locale",
"type": "string"
},
"auth": {
"description": "Custom authentication settings",
"type": "object",
"properties": {
"withCredentials": {
"description": "Toggle XMLHttpRequest.withCredentials for @alfresco/js-api and PDF Viewer",
"type": "boolean"
}
}
},
"oauth2": {
"description": "AUTH configuration parameters",
"type": "object",