Provides single-sign on functionality between a django.contrib.auth based site and Zendesk
Project description
Django 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.
SETUP
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:
(r'zendesk/$', 'django_zendesk.views.authorize')
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 TEST_DATABASE_CHARSET
setting so that test databases are created to be utf8 compatible.
CREDIT:
Initial idea by Jon Gales with improvements by Alexander Ljungberg.
See initial idea/blog post [here][intial_idea] and here
Build Process:
- Update the
__version_info__
inside of the application. Commit and push. - Tag the release with the version.
git tag <pypi package>-<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/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pivotal_django_zendesk-1.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfc29dc1791934ff5b4678893baf6476c426f9bbc2ca1b9315779263db30fd78 |
|
MD5 | c89f257ca24f13b27fc6e7355c6ed3bf |
|
BLAKE2b-256 | 797cf2abc90f178b50a13eaaf1898012c97414879362044a8bbdb3db5141ec11 |
Hashes for pivotal_django_zendesk-1.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ec1f87650e798346d3c3791f8ff92d454b69c987054fb031718ff8b8c7fa772 |
|
MD5 | d4d70b69409b7125380ef9339717861e |
|
BLAKE2b-256 | ad39d18aa4c14de5e619cf76e7b1ac75ad51fe0df98b852b4294d53003f7945c |