Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

A Kong OAuth Utility Library

Project description

# kongoauth
A collection of utilities for implementing Kong OAuth with Django Rest Framework

## Setting it up in your project:

**Install:**

```
pip install ...
```

**Add to settings**

```
INSTALLED_APPS = [
..
'kongoauth',
]
```

**Add DRF authentication class**

```
REST_FRAMEWORK = {
...
'DEFAULT_AUTHENTICATION_CLASSES': (
...
'kongoauth.authentication.KongOAuthAuthentication',
),
...
}
```

**Optional settings**

* `AUTH_REDIS_KEY`
* `REDIS_CONN` # a dictionary with redis configs

## Run the tests

```
docker-compose run --rm web python example/manage.py test
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-kongoauth, version 0.1.19
Filename, size File type Python version Upload date Hashes
Filename, size django-kongoauth-0.1.19.tar.gz (7.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page