A library for social sign-in capability from providers such as Twitter and Facebook.
Many social authentication solutions exist. I wanted something that didn’t have strong ties to an HTTP framework or storage backend. Preferably, I didn’t want something that dealt with a storage backend at all. This library uses JSON web tokens instead of sessions to deal with intermediate information in the OAuth flow (such as a token secret).
$ pip install socialauth
$ git clone https://github.com/emilyhorsman/socialauth.git
$ mkvirtualenv --python=python3 socialauth
$ cd socialauth
$ workon .
$ pip install -r requirements.test.txt
$ python tests.py
$ pip install -r requirements.docs.txt
$ cd docs
$ make html