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
- 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.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91288dafbde1664325d7cd629dad420c326e8284bb455ebe7a8d2fc2d46b58d2 |
|
MD5 | 8b3de5064e5ecf267cf6ef3632ff0578 |
|
BLAKE2b-256 | f2940ed7908bb60de19e0cb3708ed6219a426a923eed5c581804e8d80dae86fa |