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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file flask_auth_service_mongo-0.1.7b6.tar.gz.

File metadata

  • Download URL: flask_auth_service_mongo-0.1.7b6.tar.gz
  • Upload date:
  • Size: 21.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/2.7.17

File hashes

Hashes for flask_auth_service_mongo-0.1.7b6.tar.gz
Algorithm Hash digest
SHA256 c493b7bbfe414168e181e97b739bcfa32d00125c1b4bb462bcec80014c9eff62
MD5 dd53252b4b8dc9389435ee6862d61fde
BLAKE2b-256 c8d92ef93bd8233a2f3bc58e5496d56e7cf93abd2491d5e2e1c2318a14255376

See more details on using hashes here.

File details

Details for the file flask_auth_service_mongo-0.1.7b6-py3-none-any.whl.

File metadata

  • Download URL: flask_auth_service_mongo-0.1.7b6-py3-none-any.whl
  • Upload date:
  • Size: 38.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/2.7.17

File hashes

Hashes for flask_auth_service_mongo-0.1.7b6-py3-none-any.whl
Algorithm Hash digest
SHA256 32d75e9ccaf7cc1969d8f006979b97c297a86fcf074e006d400323cb07fed40c
MD5 0f5ca9bc80e41ecf2772a429b0b42693
BLAKE2b-256 c07df8139c5974e8022f44c8638cfdfe17d8d6da11403b1adbf7691983da06bd

See more details on using hashes here.

Supported by

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