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.7b0.tar.gz (21.8 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.7b0-py3-none-any.whl (37.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flask_auth_service_mongo-0.1.7b0.tar.gz
  • Upload date:
  • Size: 21.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5

File hashes

Hashes for flask_auth_service_mongo-0.1.7b0.tar.gz
Algorithm Hash digest
SHA256 6703071f8ea3a0087b6584d6ef59e337e768a2b35528582b7fe786ddade74f33
MD5 32a571c16eaf70b8d97df3e5fee1d141
BLAKE2b-256 cfded6a91ebe6e1380d6ee7d153331665c8febf86ca53900165292e626df8db3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flask_auth_service_mongo-0.1.7b0-py3-none-any.whl
  • Upload date:
  • Size: 37.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5

File hashes

Hashes for flask_auth_service_mongo-0.1.7b0-py3-none-any.whl
Algorithm Hash digest
SHA256 1122b42fb05ff96fe8b85f772666b6aa254c691dc81c5adcdb689d6a1b124522
MD5 c5761b2ec7b9a54622974fcf280994aa
BLAKE2b-256 f6be788e854c721c454278cd3e5801100ce298c0ec137027a088cd889f2bfb44

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