Flask JWT authentication package with mongo.
Project description
Flask authentication service with mongo
Flask JWT authentication package with mongo.
Installing
- Install and update using pip:
$ pip3 install -U flask-auth-service-mongo
Configuration
- Define the following environment variables
- (str) Key with which the token is generated
SECRET_KEY=
- (bool) Turn the token whitelist on or off
WHITE_LIST_TOKEN=
- (int) Minimum username length
USERNAME_MIN_LENGTH=
- (int) Minimum password length
PASSWORD_MIN_LENGTH=
- (int) Minutes in which the token will expire
TOKEN_EXPIRE_MINUTES=
- (int) Length of the password generated in the reset
RESET_PASSWORD_LEN_GENERATOR=
- (bool) Default value for auth.required(require_password_change)
REQUIRE_PASSWORD_CHANGE=
- (str) Key with which the token is generated
Links
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 flask_auth_service_mongo-0.1.7b2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48df059a9cbd0d42a8e8d5b0474fc81b9b8debc095b50be9d7b8f3941e020527 |
|
MD5 | 1acab048c2caa04f5d834e068afffb5e |
|
BLAKE2b-256 | 83dae6ce47216952b8677d272c7616ea1e1cef171af3adbe9a5a53e01c8c04c4 |
Close
Hashes for flask_auth_service_mongo-0.1.7b2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | adcc7d9847c9b5da85fcb5262aae17fa0cfe26dd888208339f35edf160c0a3e6 |
|
MD5 | dc715ae5d55168aaed4ed88298a44323 |
|
BLAKE2b-256 | 6c2b11e676a5e675709881233867b8441df49a5d6a094761f269241b52d5c4d3 |