A Django app for auth.
Project description
Overview
GSpot Auth is a Django app for GSpot project https://github.com/DJWOMS/GSpot
Quick start
- Add "gspot_auth" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [
...
'gspot_django_auth',
]
- Define these parameters in
settings.py
REDIS_ACCESS_PREFIX
REDIS_ACCESS_DB
REDIS_HOST
REDIS_PORT
REDIS_PASSWORD
GET_TOKEN_FROM
- 'headers' or 'cookies'
- Add CustomJWTAuthentication to DEFAULT_AUTHENTICATION_CLASSES in settings.py
REST_FRAMEWORK = {
...
'DEFAULT_AUTHENTICATION_CLASSES': [
'gspot_django_auth.authentication.CustomJWTAuthentication'
],
}
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
Close
Hashes for gspot_django_auth-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2394a956ed4f6cc7b093bad0d936ddfe50baec136b3e75724a59eb67281f5c24 |
|
MD5 | 7561002fd4a597f9405d59521519a597 |
|
BLAKE2b-256 | 1c8f67121c651187ae819fa739b3c03c6a664e88f03a3d3b1c8fe3a21e75b498 |