Skip to main content

A Django app for AuthSCH.

Project description

django-social-authsch
=====

Django Application for AuthSCH

Quick start
-----------

1. Add "authsch" to your INSTALLED_APPS setting like this::

````python
INSTALLED_APPS = [
...
'social_django',
'authsch',
]
````

2. settings.py

````python
SOCIAL_AUTH_URL_NAMESPACE = 'social'

AUTHENTICATION_BACKENDS = [
'authsch.authentication.AuthSCHOAuth2',
'django.contrib.auth.backends.ModelBackend',
]

SOCIAL_AUTH_AUTHSCH_KEY = "key"
SOCIAL_AUTH_AUTHSCH_SECRET = "secret"
SOCIAL_AUTH_LOGIN_REDIRECT_URL = '/'
LOGIN_URL = "login/authsch/"
````

3. Run `python manage.py migrate` to create the authsch models.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

django-social-authsch-0.1.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file django-social-authsch-0.1.tar.gz.

File metadata

File hashes

Hashes for django-social-authsch-0.1.tar.gz
Algorithm Hash digest
SHA256 32fce8a3afd0c90a2b53e2f5d6fbf173b03c2799d316e37b6e383849a996a529
MD5 2be2ae79781f20f5877e9d2aaae553ae
BLAKE2b-256 00e2fd9c0651ca964d6d3b58fc89213d72ec6c8567a41cfdcbec1877ff0ddc58

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