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.7b1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bae236d078ad07a21f21e3c1e07f0f38e49ac849d710ff9321feb58dbe87bed1 |
|
MD5 | 7437c809f0861232e74d32469895f926 |
|
BLAKE2b-256 | 2b7da2bcde8f487ac1055c2c1c5366bc0b9c4836b293ae148e7aae0de6e32dc6 |
Close
Hashes for flask_auth_service_mongo-0.1.7b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | edde835bb0a7d23aa69a677fc46d456d07af127d420a0d0fe036d71d5d43838e |
|
MD5 | c855c61adb36159a1a62710ca66c0a7b |
|
BLAKE2b-256 | e359640788a51f61c6015ef82ffa9f775a60776ac17a2872907c29c8523c92cb |