Like writing websites in Flask? Me too!
Over the past several weeks I’ve spent a ton of time hacking on the latest release of our brand new
Since the first release last month, I’ve received a ton of feedback — suggestions, ideas, and
criticisms about what could be done better. It was incredibly exciting!
With the latest release of the Flask-Stormpath library (
0.2.0), the entire library has changed — dramatically. It’s no longer a simple wrapper around Stormpath, but a full blown user authentication system that goes out of its way to automate and remove as much pain as possible from your web apps.
NOTE: Want to skip the fuss and just use it already? You can install it via pip:
$ pip install -U flask-stormpath
The latest edition of Flask-Stormpath includes several awesome new features:
- Completely revamped documentation (check it out!)
- Built-in views for handling registration, login, and logout
- Built-in templates for registration and login pages. (They even look good!)
- Fully integrated social login with Facebook and Google
- Incredibly flexible library settings — you can fully control all aspects of the library just by modifying your Flask config: no coding needed!
What’s my favorite thing about the new release? Good question!
You can now add simple and secure user authentication to any Flask website in as little as one line of code! Seriously. And you don’t even need a database!
Here’s what our new built-in registration and login pages look like (without customization, of course):
Want to give it a go? Read through our new and improved quickstart
Get stuck? Have questions? Email me!
In the near future we’re going to be adding several features which will make the library even nicer:
- API authentication. (Building a public or private API service? Secure it with Stormpath!)
- Account verification via email. There will be a setting that allows you to automatically handle user account verification via email.
- Password reset views and templates (by default!).
- Cache cluster support (speed up your site by caching to redis or memcache).
- Single factor authentication. Want to log users in with email only? Just wait!
- Post-registration hooks. Want to plug your new users into MailChimp or Intercom? The integrations are coming!
- Have something you want to see included? Email me!