python-josso-auth

A JOSSO backend for python-social-auth


Keywords
python-social-auth, social-auth-app-django, sso, josso
License
BSD-3-Clause
Install
pip install python-josso-auth==0.1.4

Documentation

python-josso-auth

python-josso-auth provides a JOSSOAuth authentication for python-social-auth, which you can subclass to easily add JOSSO providers as social auth options.

To use, just create a class for your provider which extends JOSSOAuth and provide a name and base URL.

from josso.backend import JOSSOAuth

class ExampleJOSSOProvider(JOSSOAuth):
    name = 'example_josso'
    base_url = 'https://example.com/josso/'

Now you can include your backend in your settings. For example, with Django:

AUTHENTICATION_BACKENS += ('myapp.backends.ExampleJOSSOProvider',)

Install

$ pip install python-josso-auth