Pluggable authentication backend for python-social-auth, that allows authentication via SteemConnect (v2).
From pypi
$ pip install social-auth-steemconnect
or clone from Github
$ git clone [email protected]:wise-team/python-social-auth-steemconnect.git
$ cd python-social-auth-steemconnect && sudo python setup.py install
python-social-auth
must be installed and configured first. Please visit the
python-social-auth documentation for instructions.
-
Add Waveapps backend to AUTHENTICATION_BACKENDS:
AUTHENTICATION_BACKENDS = ( 'steemconnect.backends.SteemConnectOAuth2', ... 'django.contrib.auth.backends.ModelBackend', )
-
Add your Waveapps settings to your django
settings.py
file.SOCIAL_AUTH_STEEMCONNECT_KEY = '<your-steemconnect-app-acccount>' # ex. 'myproject.app' SOCIAL_AUTH_STEEMCONNECT_DEFAULT_SCOPE = ['vote', 'comment']
Ready to use examples of projects in Django, Flask and Tornado frameworks are prepared here:
https://github.com/wise-team/python-social-auth-steemconnect-examples
- SteemConnect endpoint changed from
https://v2.steemconnect.com
tohttps://steemconnect.com
- package rename
- Initial release