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.7b5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35d6972099d071f92a7279d937bdbc42937557a911976ce15cca6fc1f7d44711 |
|
MD5 | a98b522cb1f53c10d1b0b528350da6ad |
|
BLAKE2b-256 | 540096d93cc4eac5bad92e2ad15bddf2a88f00c75a627e3579fe7f9ef30de876 |
Close
Hashes for flask_auth_service_mongo-0.1.7b5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d87646199b33f188eeb7269de1e525dc0922fdee000866787bfaf7f42f379e36 |
|
MD5 | 7aaed09a8c53254736bad0a202ee065d |
|
BLAKE2b-256 | cea3e40af07f9f3b2895750f0979aa5243397ad4abade4aa10e8da950e07cea3 |