Closed abernardobr closed 9 years ago
To clarify, this only happens on this particular POST route? Or for all POSTs?
Hello @stongo. Thanks for your reply.
This happens on a login POST.
Since I cannot get it, I cannot test the other routes.
This might nothing, but might you have a typo somewhere?
ui-0 (out): crunb onPostAuth --> request.plugins.crumb: undefined
Getting a similar error in one test only when converting crumb to hapi 9 https://github.com/hapijs/crumb/commit/f728d646107dd6fec7584aca098afbffadab3e17. This may be related to this issue
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.
Versions: HAPI: 8.5.2, crumb: 4.0.3, hapi-auth-cookie: 2.2.0 Startup process:
I am staring up first Crumb and then Cookie.
On my machine (Mac OSx Yosemite) I start the server with pm2 with several CPUs. It all works fine.
On the production server I start the server with pm2 with several CPUs. It all works fine with Chrome and IE. Once I use Firefox it is giving me the following problem:
It is generating the crumb just fine.
But once I make a POST request:
Notice that request.plugins.crumb: undefined is undefined
I have tried all sorts of ways to detect why this might be happening, but have not yet come to any light on how to possibly solve this problem.