Skip to content

Repository files navigation

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.

fromjosso.backendimportJOSSOAuthclassExampleJOSSOProvider(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

About

A JOSSO backend for python-social-auth

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages