-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Write authenticated user to header key #802
Labels
Comments
@emilevauge any idea if this would be accepted and, if so, where I should look to implement? Happy to go at it myself! Thanks! |
ViViDboarder
added a commit
to ViViDboarder/traefik
that referenced
this issue
Nov 23, 2016
Some web applications provide the ability to authorize users based on the authenticated from Basic Auth. This patch provides a way to set a key to which the authenticated user can be set in the Header. For example, if I set `HeaderValue = "X-WebAuth-User"` and authenticate, my application will be able to read my user name from that header and provide me with the proper access. This fixes traefik#802
emilevauge
pushed a commit
that referenced
this issue
Dec 16, 2016
* Add ability to set authenticated user in request header Some web applications provide the ability to authorize users based on the authenticated from Basic Auth. This patch provides a way to set a key to which the authenticated user can be set in the Header. For example, if I set `HeaderValue = "X-WebAuth-User"` and authenticate, my application will be able to read my user name from that header and provide me with the proper access. This fixes #802
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The new backend auth is pretty useful to block access to a website that doesn't provide any out of the box authentication. It would be even more useful if there was a way to write the authenticated user to a header so that the application could identify the user.
It would be great to use this sort of proxy auth with services like Gogs or Grafana that support allowing your proxy to authenticate for you and then pass the identity across.
I can take a crack at it myself, but could use some pointing in the right direction. Is this the right direction? https://blog.raintank.io/authproxy-howto-use-external-authentication-handlers-with-grafana/
The text was updated successfully, but these errors were encountered: