Provides single-sign on functionality between a django.contrib.auth based site and Zendesk
django_zendesk provides single-sign on functionality between a
django.contrib.auth based site and Zendesk. Other authentication
systems are compatible as long as they implement the
@login_required decorator. This differs from the other
implementations in that it exposes out company, external_id, tags, etc.
This fork provides for changes specifically for Pivotal Energy Solutions
django_zendesk needs two settings.py variables to be implemented:
ZENDESK_URL: The URL of your support page, will either be on zendesk.com or your own domain (via a CNAME record)
ZENDESK_TOKEN: The authentication token token you receive from Zendesk when setting up remote authentication
The only other code setup required is pointing a URL at the
django_zendesk.views.authorize method, it will look something like:
Zendesk itself needs a bit of setup, including the URL we just set up above and a log-out URL which already should be implemented somewhere in your site.
Zendesk's documentation for remote authentication is here :
If you're running the tests, make sure to set the
setting so that test databases are created to be utf8 compatible.
See initial idea/blog post [here][intial_idea] and here
- Update the
__version_info__inside of the application. Commit and push.
- Tag the release with the version.
git tag <version> -m "Release"; git push --tags
- Build the release
rm -rf dist build *egg-info; python setup.py sdist bdist_wheel
- Upload the data
twine upload dist/*
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|pivotal_django_zendesk-1.1.0-py2.py3-none-any.whl (8.6 kB) Copy SHA256 hash SHA256||Wheel||py2.py3|
|pivotal_django_zendesk-1.1.0.tar.gz (10.0 kB) Copy SHA256 hash SHA256||Source||None|