{"action":"created","issue":{"url":"https://api.github.com/repos/stormpath/express-stormpath/issues/542","repository_url":"https://api.github.com/repos/stormpath/express-stormpath","labels_url":"https://api.github.com/repos/stormpath/express-stormpath/issues/542/labels{/name}","comments_url":"https://api.github.com/repos/stormpath/express-stormpath/issues/542/comments","events_url":"https://api.github.com/repos/stormpath/express-stormpath/issues/542/events","html_url":"https://github.com/stormpath/express-stormpath/issues/542","id":187923740,"number":542,"title":"Regression in 3.1.6: Error cookieParser(\"secret\") required for signed cookies","user":{"login":"ppitonak","id":445100,"avatar_url":"https://avatars.githubusercontent.com/u/445100?v=3","gravatar_id":"","url":"https://api.github.com/users/ppitonak","html_url":"https://github.com/ppitonak","followers_url":"https://api.github.com/users/ppitonak/followers","following_url":"https://api.github.com/users/ppitonak/following{/other_user}","gists_url":"https://api.github.com/users/ppitonak/gists{/gist_id}","starred_url":"https://api.github.com/users/ppitonak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppitonak/subscriptions","organizations_url":"https://api.github.com/users/ppitonak/orgs","repos_url":"https://api.github.com/users/ppitonak/repos","events_url":"https://api.github.com/users/ppitonak/events{/privacy}","received_events_url":"https://api.github.com/users/ppitonak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-08T07:49:44Z","updated_at":"2016-11-08T17:44:16Z","closed_at":null,"body":"1. upgrade express-stormpath to 3.1.6 (from 3.1.5)\r\n2. navigate to https://example.com/login\r\n\r\nThis error is displayed/logged: \r\n\r\n```\r\nError: cookieParser(\"secret\") required for signed cookies\r\n   at ServerResponse.res.cookie (/home/ubuntu/workspace/node_modules/express/lib/response.js:785:11)\r\n   at Object.module.exports [as setTempCookie] (/home/ubuntu/workspace/node_modules/express-stormpath/lib/helpers/set-temp-cookie.js:20:7)\r\n   at text/html (/home/ubuntu/workspace/node_modules/express-stormpath/lib/controllers/login.js:94:15)\r\n   at Object.handleAcceptRequest (/home/ubuntu/workspace/node_modules/express-stormpath/lib/helpers/handle-accept-request.js:59:3)\r\n   at module.exports (/home/ubuntu/workspace/node_modules/express-stormpath/lib/controllers/login.js:27:11)\r\n   at Layer.handle [as handle_request] (/home/ubuntu/workspace/node_modules/express/lib/router/layer.js:95:5)\r\n   at next (/home/ubuntu/workspace/node_modules/express/lib/router/route.js:131:13)\r\n   at forceDefaultBodyMiddleware (/home/ubuntu/workspace/node_modules/express-stormpath/lib/helpers/body-parser.js:41:7)\r\n   at Layer.handle [as handle_request] (/home/ubuntu/workspace/node_modules/express/lib/router/layer.js:95:5)\r\n   at next (/home/ubuntu/workspace/node_modules/express/lib/router/route.js:131:13)\r\n   at Route.dispatch (/home/ubuntu/workspace/node_modules/express/lib/router/route.js:112:3)\r\n   at Layer.handle [as handle_request] (/home/ubuntu/workspace/node_modules/express/lib/router/layer.js:95:5)\r\n   at /home/ubuntu/workspace/node_modules/express/lib/router/index.js:277:22\r\n   at Function.process_params (/home/ubuntu/workspace/node_modules/express/lib/router/index.js:330:12)\r\n   at next (/home/ubuntu/workspace/node_modules/express/lib/router/index.js:271:10)\r\n   at /home/ubuntu/workspace/node_modules/express-stormpath/lib/middleware/get-user.js:173:16\r\n   at Application.authenticateApiRequest (/home/ubuntu/workspace/node_modules/stormpath/lib/resource/Application.js:1094:12)\r\n   at module.exports (/home/ubuntu/workspace/node_modules/express-stormpath/lib/middleware/get-user.js:170:17)\r\n   at Layer.handle [as handle_request] (/home/ubuntu/workspace/node_modules/express/lib/router/layer.js:95:5)\r\n   at trim_prefix (/home/ubuntu/workspace/node_modules/express/lib/router/index.js:312:13)\r\n   at /home/ubuntu/workspace/node_modules/express/lib/router/index.js:280:7\r\n   at Function.process_params (/home/ubuntu/workspace/node_modules/express/lib/router/index.js:330:12)\r\n   at next (/home/ubuntu/workspace/node_modules/express/lib/router/index.js:271:10)\r\n   at cookieParser (/home/ubuntu/workspace/node_modules/cookie-parser/index.js:42:14)\r\n   at Layer.handle [as handle_request] (/home/ubuntu/workspace/node_modules/express/lib/router/layer.js:95:5)\r\n   at trim_prefix (/home/ubuntu/workspace/node_modules/express/lib/router/index.js:312:13)\r\n   at /home/ubuntu/workspace/node_modules/express/lib/router/index.js:280:7\r\n   at Function.process_params (/home/ubuntu/workspace/node_modules/express/lib/router/index.js:330:12)\r\n   at next (/home/ubuntu/workspace/node_modules/express/lib/router/index.js:271:10)\r\n   at localsMiddleware (/home/ubuntu/workspace/node_modules/express-stormpath/lib/stormpath.js:132:7)\r\n   at Layer.handle [as handle_request] (/home/ubuntu/workspace/node_modules/express/lib/router/layer.js:95:5)\r\n   at trim_prefix (/home/ubuntu/workspace/node_modules/express/lib/router/index.js:312:13)\r\n   at /home/ubuntu/workspace/node_modules/express/lib/router/index.js:280:7\r\n   at Function.process_params (/home/ubuntu/workspace/node_modules/express/lib/router/index.js:330:12)\r\n   at next (/home/ubuntu/workspace/node_modules/express/lib/router/index.js:271:10)\r\n   at stormpathUserAgentMiddleware (/home/ubuntu/workspace/node_modules/express-stormpath/lib/stormpath.js:97:5) \r\n```"},"comment":{"url":"https://api.github.com/repos/stormpath/express-stormpath/issues/comments/259206581","html_url":"https://github.com/stormpath/express-stormpath/issues/542#issuecomment-259206581","issue_url":"https://api.github.com/repos/stormpath/express-stormpath/issues/542","id":259206581,"user":{"login":"mdeggies","id":12939567,"avatar_url":"https://avatars.githubusercontent.com/u/12939567?v=3","gravatar_id":"","url":"https://api.github.com/users/mdeggies","html_url":"https://github.com/mdeggies","followers_url":"https://api.github.com/users/mdeggies/followers","following_url":"https://api.github.com/users/mdeggies/following{/other_user}","gists_url":"https://api.github.com/users/mdeggies/gists{/gist_id}","starred_url":"https://api.github.com/users/mdeggies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdeggies/subscriptions","organizations_url":"https://api.github.com/users/mdeggies/orgs","repos_url":"https://api.github.com/users/mdeggies/repos","events_url":"https://api.github.com/users/mdeggies/events{/privacy}","received_events_url":"https://api.github.com/users/mdeggies/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T17:44:15Z","updated_at":"2016-11-08T17:44:15Z","body":"Hey @ppitonak, I tried to repro this but could not. I tested using the [express-stormpath sample project](https://github.com/stormpath/express-stormpath-sample-project). Can you provide any further info (eg what versions of node/npm/ubuntu are you running?) Feel free to link me to your project if it's available so I can take a look, or send it over to support@stormpath.com. "}}
{"actor":{"display_login":"mdeggies"}}