Metadata-Version: 2.4
Name: shopcloud-django-authenticator
Version: 1.16.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
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: >=3.12
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
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# 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/*
```
