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

Pass an email of an authorized user to backends. #1

Closed
wrr opened this issue Nov 1, 2012 · 1 comment
Closed

Pass an email of an authorized user to backends. #1

wrr opened this issue Nov 1, 2012 · 1 comment
Assignees

Comments

@wrr
Copy link
Owner

wrr commented Nov 1, 2012

When a user is authorized, wwwhisper can return the user's email in HTTP header. Nginx can then pass the email to backends. Such setup will likely require HttpHeadersMore module.

@ghost ghost assigned wrr Nov 19, 2012
@wrr
Copy link
Owner Author

wrr commented Nov 22, 2012

This is implemented in 01d1f1e wwwhisper returns an email of authenticated user in a 'User' header which can be then passed to backends. If client tries to pass the 'User' header by itself, an error is returned.

wrr/wwwhisper-openshift@a5a1ffd and wrr/wwwhisper-openshift@fed6fef demonstrate how the feature can be used. Gollum wiki author info is populated based on 'User' header passed from the wwwhisper.

@wrr wrr closed this as completed Nov 22, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant