Skip to main content

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.

Source Distribution

django-kongoauth-0.1.19.tar.gz (7.4 kB view details)

Uploaded Source

File details

Details for the file django-kongoauth-0.1.19.tar.gz.

File metadata

  • Download URL: django-kongoauth-0.1.19.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for django-kongoauth-0.1.19.tar.gz
Algorithm Hash digest
SHA256 6225a0f14e06e62f742f4b4f0bde2dd12de17c802a88babeedab590a9e89ec4d
MD5 1dbef33ffe8b524e36a233f74549dcbe
BLAKE2b-256 20f741d3df58db181e4d30a23cbc30a0ae85abb801bece919c6bf953f88d39e6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page