I assume that you are using the latest express-stormpath library , so you are probably having problems. Starting with the version 2.0.0, the library uses new configuration options.
Here is an example of the same, using the new options:
app.use(stormpath.init(app, {
client: {
apiKey: {
file: './config/.stormpath/apikey.properties'
}
},
application: {
href: '<API_HREF>',
}
}));
NOTE : No secretKey, as this is automatically generated from the API secret key Stormpath =)
, , ! < 3