Git Product home page Git Product logo

flask-restful-auth's Introduction


Test Status codecov Quality Gate Status Software License

Flask library for easy configuration of web server security.

Setup (Mac/Linux)

  1. cd Flask-RESTful-Auth
  2. python3 -m venv venv
  3. source venv/bin/activate
  4. pip install -r requirements.txt

Setup (Windows)

  1. cd .\Flask-RESTful-Auth\
  2. python -m venv venv
  3. .\venv\Scripts\Activate.ps1
  4. pip install -r requirements.txt

Run the example

Windows: python .\examples\00_basic\app.py

Unix: python ./examples/00_basic/app.py

flask-restful-auth's People

Contributors

nicbytes avatar prarthanajayanna avatar prateek45 avatar serennn99 avatar

Watchers

James Cloos avatar  avatar  avatar Thomas A. Kaufmann avatar

Forkers

prateek45

flask-restful-auth's Issues

Stateless invalidation of JWT

Currently, in examples/00_basic/app.py, there is a blacklist variable that stores invalid JWTs in application memory.

  1. A memory attack where a user continuously logs in and out to fill the server memory.
  2. Multi-server validation of an invalid JWT, where one server invalidates the JWT but that same JWT is used on another server.

Need to either move the blacklist to a shared database or, more ideally, find a way to statelessly invalidate it (updating a dependent user field?)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.