alfresco-js-api icon indicating copy to clipboard operation
alfresco-js-api copied to clipboard

External Authentication Support (X-Alfresco-Remote-User)

Open bricka opened this issue 8 years ago • 1 comments

Type of issue: (check with "[x]")

- [x] New feature request
- [ ] Bug  
- [ ] Support request

New feature request:

My team is interested in using Alfresco's "External Authentication" feature so that we can do some custom authentication work. The feature is described here: http://docs.alfresco.com/5.2/concepts/auth-external-props.html

In order to use this feature, we need to be able to set to set a specific header value whenever we make a request to Alfresco. The default header is X-Alfresco-Remote-User, but this is configurable within Alfresco.

Is this supported by alfresco-js-api today? Or what can we do in order to support this?

Thank you very much!

bricka avatar May 17 '17 07:05 bricka

Hi @bricka ,

At the moment this header is not supported, We accept by the way external contribution and maybe if you give a look inside this script:

https://github.com/Alfresco/alfresco-js-api/blob/master/src/alfrescoApiClient.js

You can find a way to change it and set it as we do for the other headers.

eromano avatar May 18 '17 14:05 eromano