Skip to main content

A JOSSO backend for python-social-auth

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_josso_auth-0.2.1.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_josso_auth-0.2.1-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file python_josso_auth-0.2.1.tar.gz.

File metadata

  • Download URL: python_josso_auth-0.2.1.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.5

File hashes

Hashes for python_josso_auth-0.2.1.tar.gz
Algorithm Hash digest
SHA256 29c6ebe1f845009f1ee7261c34b970ffe91abbcbc6ed008247c896b934a7ffc4
MD5 c7c4b640cbac6824e4b34ccced70d454
BLAKE2b-256 2aeecf597c76fc214825d5721972a1419f1efd98a8ffecbde3acd6eeb90e4102

See more details on using hashes here.

File details

Details for the file python_josso_auth-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for python_josso_auth-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7f803ac7077a0561c0ceeb4f45aebf2fb7b7a129b9f4465ae135dbe15230ce82
MD5 241d397f8c962f3880f8ad952bdf86ff
BLAKE2b-256 f2a03fee73cecff3bb1aeb7d843ca4a6a24a523ff8abd4dc79115ef8992f78e6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page