New Stormpath Node.js SDK

Today, I’m ecstatic to announce the 0.2.0 release of our Node.js SDK, complete with updated docs and a host of fixes and new functionality. When we first released the 0.1 version in March, the fast adoption surprised us. Since then, we’ve been working hard to incorporate all your feedback (thanks!), fill out the features, and make it awesome for Node users. In this article, I’ll walk through the major improvements we’ve made in this release. Please check out the new version and please share your feedback!

Social Login

You can now use the Node.js SDK to login your users with Facebook or Google. Stormpath Social Login retrieves user profiles from social networks and converts them to full Stormpath accounts, complete with functionality like passwords for your app and custom user profile data. Take a look at our Social Integrations guide for more information on how it works.

Full Custom Data Support

We finished implementing custom data support in Node.js. It’s the easiest way to add ad-hoc data to your Accounts and Groups. No database work and it’s super simple to implement:

Account Store Mappings

This release gives Node.js devs more sophisticated control over setting, querying, and updating the mappings between your account stores in Stormpath and your application.

Building a multi-tenant app? Account Store Mappings are a killer time-saver.

Updated Caching Support

We’ve expanded caching implementations to include network-accessible stores like Redis and Memcached. Caching improves performance by reducing round trip calls to Stormpath.

Caching is incredibly easy to implement for Node apps backed by Stormpath – without code changes. Simply provide an additional parameter when you create a Stormpath Client instance.

Iterator Methods on Collection Resources

Collection resources in Stormpath are pre-defined “parent” resources that contain “child” instance resources. This release brings new methods to make it easy to iterate over those collection resources. For instance, it’s now simple to produce an array of your Stormpath Application names:

Updated Docs

Last but not least, we’ve massively updated the Node.js API docs. There are all-new sections, clearer explanations, revamped code samples, and more detail all around.

Stay tuned for two more major features coming soon to Stormpath and the Node SDK! And as always, leave us your feedback on today’s release in the comments, on support, or @goStormpath.