movableink / doorman

HTTP Proxy + OAuth
MIT License
167 stars 52 forks source link

Pass X-Remote-User to backend #43

Closed bittrance closed 8 years ago

bittrance commented 8 years ago

Allows authentication modules to supply a username that gets passed to proxied service via X-Remote-User header.

bittrance commented 8 years ago

Fixed username -> decorate. Regarding user.email, I used the same strategy as the email check, which makes the same assumption. I don't really know enough about the OAuth services in question to tell whether this value can be empty.