Skip to content

feat: replace original Authentication header after HaProxy auth - #33

Merged
bigcat88 merged 4 commits into
mainfrom
feat/dsp-auth/v3
Jul 23, 2024
Merged

feat: replace original Authentication header after HaProxy auth#33
bigcat88 merged 4 commits into
mainfrom
feat/dsp-auth/v3

Conversation

@andrey18106

Copy link
Copy Markdown
Contributor

This is backward compatible change, since AppAPI 3.0.0 we'll save the original request's basic Authentication header to X-Original-Authentication, and in Docker Socket Proxy here we replace it to the default Authentication header to pass it further to the service behind HaProxy.

Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
@andrey18106
andrey18106 requested a review from bigcat88 July 22, 2024 21:14
@bigcat88

bigcat88 commented Jul 22, 2024

Copy link
Copy Markdown
Member

edited: I think these changes should go also to haproxy_ex_apps.cfg.template

andrey18106 and others added 3 commits July 23, 2024 00:19
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
…ization`

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
@bigcat88
bigcat88 marked this pull request as ready for review July 23, 2024 10:37
@bigcat88
bigcat88 merged commit 66d3125 into main Jul 23, 2024
@bigcat88
bigcat88 deleted the feat/dsp-auth/v3 branch July 23, 2024 10:44
bigcat88 added a commit to nextcloud/app_api that referenced this pull request Jul 23, 2024
…334)

Ref: nextcloud/docker-socket-proxy#33

---------

Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Co-authored-by: Alexander Piskun <13381981+bigcat88@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants