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.7b3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fc5cf346d29b1b57ecc76d86eb76869441054c662dc102e727c7467b0b3dc5e |
|
MD5 | 39e564b72041d29c9958b562e910c911 |
|
BLAKE2b-256 | c86a5fa251a8ec746105194e8429e5b09d91fe91dbd021a3ebc955c30e768e65 |
Close
Hashes for flask_auth_service_mongo-0.1.7b3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5569722f831998213e33e76a65aa402f80753381d36e20908e5a02075544eb25 |
|
MD5 | 50b372e7513f3b097b0efe1b5d4fe544 |
|
BLAKE2b-256 | 50a3685fee6d770d8e54b2cd1f61ad4864b66cce77043895e7fa6b157fc4e5d2 |