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?

  • dgdft@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 days ago

    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.

  • hendrik@palaver.p3x.de
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    3 days ago

    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.

      • hendrik@palaver.p3x.de
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 days ago

        Solid choice. I like Flask’s design. They have good documentation as well. And PieFed (and probably lots of other projects) also rely on flask-login and all these extensions.