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