-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Add ability to set authenticated user in request header #889
Conversation
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
Let me know if there is additional documentation or tests you'd like to see. Also, I'm happy to squash commit and re-open to clean out the documentation commit and misspelling. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🐮
/cc @containous/traefik
Hmm. I think I have a typo in the documentation. I'll push an update today.
…On Thu, Dec 8, 2016, 2:25 AM Vincent Demeester ***@***.***> wrote:
***@***.**** approved this pull request.
LGTM 🐮
/cc @containous/traefik <https://github.com/orgs/containous/teams/traefik>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#889 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAIXQXynWp8F59M27sCD3vO_IMHDsGT9ks5rF9skgaJpZM4K7J3Y>
.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @ViViDboarder
Please squash commits while merging
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