What is Stormpath? Stormpath is a platform that takes care of your application’s user management layer, providing what amounts to Authentication and Authorisation as a Service.
Stormpath has built an impressive toolset for numerous platforms, and they have even more in the pipeline. Distinction’s stack consists of a Java EE backend and a ReactJS front-end. For web applications written in Java, one of the tools available is the Stormpath Servlet Plugin. The servlet makes it super easy to add registration, login, authentication and authorisation functionalities to your application. For front-end applications written in React, Stormpath provides the Stormpath React SDK, a fairly new project that tries to do a lot of the work required when adding authentication to your app. In our project, however, we opted not to use the SDK. The SDK’s code was fairly small and simple, so we decided it would be more productive in the long run to implement a narrower set of functionalities tailored to our use-case and consistent with our application’s design.
In the next posts to come, I’ll go through setting up Stormpath on the backend and front-end, and conclude with lessons learnt.