choppen5/stormpath-node — pull request #1 by rdegges (2014-12-09 18:44:27+00:00)
Title: Fixing Codez

Heyo! I saw your comment on our blog post -- so I forked your repo and fixed the issue for ya.

Basically, your routes were being app.use'd BEFORE Stormpath's middleware, which is why it wasn't working. By moving them below the stormpath middleware, everything works as expected. I just ran it locally and tested stuff out here, works great.

I also went ahead and modified your package.json to include all the missing dependencies.

Cheers ^^