Skip to main content

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=
      

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for flask-auth-service-mongo, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size flask_auth_service_mongo-0.1.4-py3-none-any.whl (37.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size flask_auth_service_mongo-0.1.4.tar.gz (21.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page