https://github.com/consbio/python-josso-auth
A JOSSO backend for python-social-auth
https://github.com/consbio/python-josso-auth
Last synced: about 2 months ago
JSON representation
A JOSSO backend for python-social-auth
- Host: GitHub
- URL: https://github.com/consbio/python-josso-auth
- Owner: consbio
- License: bsd-3-clause
- Created: 2015-02-14T04:52:20.000Z (over 11 years ago)
- Default Branch: main
- Last Pushed: 2026-04-08T23:08:02.000Z (4 months ago)
- Last Synced: 2026-04-09T01:11:44.257Z (4 months ago)
- Language: Python
- Size: 130 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
```python
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:
```python
AUTHENTICATION_BACKENS += ('myapp.backends.ExampleJOSSOProvider',)
```
## Install ##
```bash
$ pip install python-josso-auth
```