Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use process-services with ADF 6.7.1 or 6.8.0 and Basic authentication #9557

Open
romainbrochot opened this issue Apr 15, 2024 · 1 comment

Comments

@romainbrochot
Copy link

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

  • New feature request
  • Bug
  • Support request
  • Documentation

Current behaviour:
The process-services features are not working anymore with BASIC authentication.

Expected behavior:
We should be able to use the ECM and BPM providers with Basic authentication with the new ADF releases

Steps to reproduce the issue:

  1. build demo-shell on https://github.com/Alfresco/alfresco-ng2-components/tree/6.7.1 or https://github.com/Alfresco/alfresco-ng2-components/tree/6.8.0
  2. configure proxy.conf.js and add .env in order to specify that we want ECM and BPM providers for the ADF APP
  3. Start the ADF app with "npm start" command
  4. navigate to http://localhost:3000/#/process-list and see the 401 http errors

Doing the same steps with ADF 6.1.0 is OK.

Component name and version:
ADF 6.7.1 / ADF 6.8.0

Browser and version:
all

Node version (for build issues):
Node 18 / Npm 10

@alfsender
Copy link

I am facing Authentication issue after upgrading to ADF 6.8.0.. In my current app which is using 5.1.0 after login I see it's passing Authorization as below header in all process service API calls.

Authorization: Basic adf42sfase

After upgrading to 6.8.0, I see it's sending the header as below.. (with extra Basic)

Authorization: Basic Basic adf42sfase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants