dahlia / wsgi-oauth2

Simple WSGI middleware for OAuth 2.0
https://dahlia.github.io/wsgi-oauth2/
MIT License
23 stars 5 forks source link

Add option to set REMOTE_USER #3

Closed secretmike closed 11 years ago

secretmike commented 11 years ago

Add option to WSGIMiddleware to set the REMOTE_USER environment variable to the authenticated username.

Includes implementation for GitHub.

dahlia commented 11 years ago

Thanks for your effort. I released 0.1.2 which includes this change and also submitted to PyPI. See the changelog as well.