stormpath / express-stormpath

Build simple, secure web applications with Stormpath and Express!
http://docs.stormpath.com/nodejs/express/
Apache License 2.0
325 stars 111 forks source link

Update code to match Node SDK async update #546

Open the-overengineer opened 7 years ago

the-overengineer commented 7 years ago

This is a companion PR to https://github.com/stormpath/stormpath-sdk-node/pull/570 and should not be merged before that PR is merged. It contains a minor update to maintain compatibility with the Node SDK. When I plug the top commit of the Node SDK branch in package.json, all the 400 Bad Request errors seem to go away and the tests run normally.

"dependecies": {
  "stormpath": "git@github.com:stormpath/stormpath-sdk-node.git#4352359ac883b209be1c996f50b2189019db3fdb"
}