Skip to main content

djdg OAuth2 method for Django

Project description

djdg django OAuth

Djdg Django Oauth provides a simple signature middleware verification between apps

mail to


* Python 2.7
* Django 1.9


Install with pip::

pip install djdg-oauth

Add `djdg_oauth` to your `INSTALLED_APPS`

.. code-block:: python


run migrate to add tables
.. code-block:: python

python migrate djdg_oauth

list, add, del app secret::
.. code-block:: python

python python listoauthapp {app_name}
python python addoauthapp {app_name}
python python deloauthapp {app_name}

add middleware::
.. code-block:: python


add settings::
.. code-block:: python

"APPS": [
{"appid": "xxxxxx", "secret": "xxxxxxxxxxxxxxxxxxx", "app": "xxx"},

"FULL_ESCAPE_URL": [....] # full match url to escape auth check,
"REGEX_ESCAPE_URL": [....] # regex match url to escape auth check



djdg-oauth is released under the terms of the **BSD license**. Full details in ``LICENSE`` file.

0.0.2 version

add settings to assign url to check permission


0.0.3 version

json dumps dict or list post parameter to string for md5

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

djdg-django-oauth-0.0.4.tar.gz (6.4 kB view hashes)

Uploaded Source

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