This module provides a simple WSGI middleware that requires the user to authenticate via the specific OAuth 2.0 service, e.g., Facebook, Google, GitHub.
You can install the package via downloading from PyPI:
$ pip install wsgi-oauth2
Read the documentation as well.