r/Python • • Feb 24 '14

The Flask Authentication Problem

https://stormpath.com/blog/part-one-flask-authentication-problem
0 Upvotes

18 comments sorted by

View all comments

Show parent comments

1

u/rdegges Feb 24 '14

Well, to be fair, Flask-Login is really great, but just doesn't a good enough job of forcing one model of auth, which makes it really hard to use :(

We've actually got a cool new library in the works: http://flask-stormpath.readthedocs.org/en/latest/ which aims to solve these problems.

-4

u/[deleted] Feb 24 '14

Well, to be fair, Flask-Login is really great, but just doesn't a good enough job of forcing one model of auth, which makes it really hard to use :(

so it's great but it sucks? or it's great a t sucking? Or it sucks how great it is?

3

u/rdegges Feb 24 '14

It's really great at what it does:

  • Abstracting the concept of users, so you're not dependent on a single backend (postgres, mysql, sqlalchemy, whatever).

  • Abstracting the session management.

  • Abstracting the login / logout / fetch user from cache stuff.

It's basically a nice, bare-bones framework for handling website auth.

-3

u/[deleted] Feb 24 '14

all those features listed sound fantastic and original.