Metadata-Version: 2.1
Name: shopcloud-django-authenticator
Version: 1.14.0
Summary: A Module for single sign in
Home-page: https://github.com/Talk-Point/shopcloud-django-authenticator
Author: Konstantin Stoldt
Author-email: konstantin.stoldt@talk-point.de
License: MIT
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: Django >=3.2
Requires-Dist: djangorestframework
Requires-Dist: django-filter
Requires-Dist: markdown
Requires-Dist: pyjwt

# Shopcloud-Django-Authenticator

Single Sign In from Shopcloud

## Quickstart

```
pip3 istall shopcloud-django-authenticator
```

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

```py
INSTALLED_APPS = [
    ...
    'authenticator',
]
```

```py
AUTHENTICATOR_KEY = os.environ.get('AUTHENTICATOR_KEY', 'DEV-KEY')
```

To generate a key use `pwgen -s $1 64`

2. Include the polls URLconf in your project urls.py like this::

```
path('authenticator/', include('authenticator.urls')),
```

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


4. Install custom Tags for Login Button

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

## Release

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