30 ms·
Love Flask in theory. My biggest complaint was trying to do user management with it. Flask-Security was good, but the developer skipped town a few years ago.
by mixmastamyk 9y ago
Love Flask in theory. My biggest complaint was trying to do user management with it. Flask-Security was good, but the developer skipped town a few years ago. Did they come back? :D
Basically you are left to your own devices, which sounds great, but user+auth is pretty fundamental to be left to a random absentee third-party in my opinion.
- icebraining 9y agoYet no Flask application I've ever written needed user auth :)
- mixmastamyk 9y agoIndeed, its a risky choice for that.
- diminoten 9y agoTry farming out the auth to a middleware. That's what I do and it works really well.
- tudelo 9y agoLike openam? or what do you suggest.
- mixmastamyk 9y agoDoes it interface with sqlalchemy, onboarding, email, etc?
- diminoten 9y agoYour auth middleware can attach a user object to environ that your downstream apps could reference. Whatever else you do (email, onboarding, sqlalchemy) you can do downstream, or directly in the (or a different ) middleware if you want.
- whitehouse3 9y agoI was disappointed to see Flask-Security and Flask-Principal are now abandoned. We went with Flask-Allows for security at my job. It’s actively maintained with a simple API. Handles the requirements of our Flask-based ERP really well.
- creeble 9y agoCheck out Flask-User. It's a lot like the user auth in Django. Developer still around.
- mixmastamyk 9y agoBelieve it is a part. I mentioned user+auth, but there is commonly a lot more around that for a typical sass app. Registration, password-reset, just to name two.