Skip to main content

A Module for single sign in

Project description

Shopcloud-Django-Authenticator

Single Sign In from Shopcloud

Quickstart

pip3 istall shopcloud-django-authenticator
  1. Add "authenticator" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
    ...
    'authenticator',
]
AUTHENTICATOR_KEY = os.environ.get('AUTHENTICATOR_KEY', 'DEV-KEY')

To generate a key use pwgen -s $1 64

  1. Include the polls URLconf in your project urls.py like this::
path('authenticator/', include('authenticator.urls')),
  1. Run python manage.py migrate to create the polls models.

  2. Install custom Tags for Login Button

{% load tower_tags %}
{% tower_login request 'QYG69GK' %}

Release

$ rm -rf build dist
$ pip3 install wheel twine
$ python3 setup.py sdist bdist_wheel
$ twine upload dist/*

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

shopcloud-django-authenticator-1.15.0.tar.gz (5.7 kB view hashes)

Uploaded Source

Built Distribution

Supported by

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