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.

Source Distribution

flask_auth_service_mongo-0.1.7b6.tar.gz (21.5 kB view hashes)

Uploaded Source

Built Distribution

flask_auth_service_mongo-0.1.7b6-py3-none-any.whl (38.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page