Skip to content

Instantly share code, notes, and snippets.

Created December 2, 2014 12:12
Show Gist options
  • Save anonymous/553d1d5741702b714c95 to your computer and use it in GitHub Desktop.
Save anonymous/553d1d5741702b714c95 to your computer and use it in GitHub Desktop.
TypeError: Cannot call method 'getAccount' of undefined
at onAuthcResult (d:\xampp\htdocs\sites\varsity-b-p1-microsite\node_modules\
passport-stormpath\lib\strategy.js:82:34)
at Application.authenticateApplicationAccount [as authenticateAccount] (d:\x
ampp\htdocs\sites\varsity-b-p1-microsite\node_modules\passport-stormpath\node_mo
dules\stormpath\lib\resource\Application.js:134:3)
at Strategy.authenticate (d:\xampp\htdocs\sites\varsity-b-p1-microsite\node_
modules\passport-stormpath\lib\strategy.js:77:16)
at attempt (d:\xampp\htdocs\sites\varsity-b-p1-microsite\node_modules\passpo
rt\lib\middleware\authenticate.js:341:16)
at authenticate (d:\xampp\htdocs\sites\varsity-b-p1-microsite\node_modules\p
assport\lib\middleware\authenticate.js:342:7)
at d:\xampp\htdocs\sites\varsity-b-p1-microsite\controllers\auth.js:59:51
at onCreateResourceRequestResult (d:\xampp\htdocs\sites\varsity-b-p1-microsi
te\node_modules\stormpath\lib\ds\DataStore.js:359:14)
at Request.onRequestResult [as _callback] (d:\xampp\htdocs\sites\varsity-b-p
1-microsite\node_modules\stormpath\lib\ds\RequestExecutor.js:106:7)
at Request.self.callback (d:\xampp\htdocs\sites\varsity-b-p1-microsite\node_
modules\stormpath\node_modules\request\request.js:123:22)
at Request.emit (events.js:98:17)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment