Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Support authentication by upstream proxy #15

Open
pbuyle opened this issue Mar 20, 2020 · 4 comments
Open

Support authentication by upstream proxy #15

pbuyle opened this issue Mar 20, 2020 · 4 comments

Comments

@pbuyle
Copy link

pbuyle commented Mar 20, 2020

It would be nice to be able to let a proxy in front of dave handle the user authentication and just accept the username from a HTTP Header. This would open the possibility to use alternative authentication method (LDAP, custom, database, etc.) without adding much complexity to dave.

And example setup is Traefik configured to use forward auth with pinepain/ldap-auth-proxy. When a request hit dave, a user has already been authenticated and it's username is stored in the X-Auth-User header.

Related issue: #10

@chclaus
Copy link
Collaborator

chclaus commented Aug 3, 2020

Hej @pbuyle,

had a lot on my mind - sorry for delay.

Yes. I understand the desire for integration behind a proxy. If you want to try that, you are welcome to do so - otherwise I would try to work on it in the next weeks.

Best,
Christian

@pbuyle
Copy link
Author

pbuyle commented Aug 3, 2020

Hi,

No problem for the delay. I'm glad the project exists and already fit multiple people's needs. No pressure here.

I don't have much knowledge of Go and even less time available to work on the project. As I said, integration for upstream proxy can be a good way to get multiple birds with one stone. Basically, the problems of HTTP auth for multiple backends are already solved. Having a configurable header to pass the authenticated user id from upstream to dave would allow it to benefit from them.

@chclaus chclaus self-assigned this Aug 4, 2020
@chclaus
Copy link
Collaborator

chclaus commented Aug 4, 2020

Hej hej,

ok. I'll give it a try. Thanks a lot for inspiration and I'll keep you on track.

Best,
Christian

@chclaus
Copy link
Collaborator

chclaus commented Apr 7, 2021

Hej,

i will give this task up to someone else. Currently I'm out of time.

Best,
Christian

@chclaus chclaus removed their assignment Apr 7, 2021
@chclaus chclaus added help wanted Extra attention is needed Up For Grabs and removed help wanted Extra attention is needed labels Apr 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants