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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce2c8e89712b8ba68eb0c149c927fa501cdc51ffa57ebeaad86a2aa185090936 |
|
MD5 | c92df8f08637052519536434b114ae5c |
|
BLAKE2b-256 | 14a60e0ee35ffc5889267422af409e695a019a07947efae30d8a80011ae3fc62 |
Close
Hashes for flask_auth_service_mongo-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3f9ca1fca8abb81f5b3aef4d83333e41c3de6f3d932dcbd680cc5e2f2e82443 |
|
MD5 | 687b79f3e53235d44b04b2d6b64d6e39 |
|
BLAKE2b-256 | 12116433590caf08ca81d83a743ac28a570033443b327624b1b534ab2eda4821 |