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

Authorization header not passed to persistence API when doing a PUT for file attachments #5310

Closed
avernet opened this issue Apr 29, 2022 · 0 comments

Comments

@avernet
Copy link
Collaborator

avernet commented Apr 29, 2022

However, the Authorization header is correctly sent, per the property below, when doing a PUT for the form data. This regressed because we are now not going through an XForms submissions for attachments, as we got rid of fr-create-update-attachment-submission, and it works for data because we are stilling going through the XForms submission fr-create-update-submission for the form data. As done by the XForms submission we should get those headers from the containing document, not from the request.

<property as="xs:string" name="oxf.http.forward-headers" value="Authorization"/>

+1 from customer

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

No branches or pull requests

1 participant