I'm trying to create a web app with flask and most tutorials I can find recommend using flask-login, however the last release was around two and a half years ago and the last commit was nine months ago. The only statement I could find is this issue where the maintainer says it's still maintained but there has only been one new commit since then. Is it still safe to use, if not, what alternatives are there?

all 9 comments

sorted by: hot top controversial new old
[–] 7 points 3 months ago (1 child)

why would a mature library have frequent commits?

  • source
  • hideshow 2 child comments
  • [–] 4 points 3 months ago (1 child)

    Yeah, it’s just mature software.

    There’s not much to depth to flask login; it’s a small convenience layer. You can roll your own user management with werkzeug’s password_hash and cookies if you want.

  • source
  • hideshow 2 child comments
  • [–] 4 points 3 months ago* (1 child)

    You may want to look at https://flask-security.readthedocs.io/en/stable/ It's layered on top of flask-login and has had commits in the past week.

  • source
  • hideshow 2 child comments
  • [–] 2 points 3 months ago* (1 child)

    I think Quart is the more modern (async) Flask successor. Or people use FastAPI, ... That's where active development happens. The Flask ecosystem is more stable, mature I guess? There's plenty old plugins without recent updates. But most I had a look at were written in a very clean way, and they're probably perfectly fine. Unless they're niche or you find some discussion about security-related stuff in the bugtracker.

  • source
  • hideshow 2 child comments
  • [–] [S] 3 points 3 months ago (1 child)

    Quart looks interesting but I'll probably stick with flask for now. I figured flask-login was probably fine but I wanted confirmation

  • source
  • parent
  • hideshow 2 child comments