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.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5258a73ba445aa928e459aa95a6bbac0a6f812c15d0c44978403bcdc9f138def |
|
MD5 | 26e5ea451e667a8b92e100a34a995e95 |
|
BLAKE2b-256 | 8784a865460f068c9cf94e8eca1b342c07b552f2f1566b50b45fd1367c6a0855 |