hapijs / crumb

CSRF crumb generation and validation for hapi
Other
171 stars 50 forks source link

No crumb cookie using restful example #85

Closed genediazjr closed 8 years ago

genediazjr commented 8 years ago

I have tried running the restful.js example but I get no crumb cookie on the response headers as stated.

// a "crumb" cookie gets set with any request when not using views

I am able to get the crumb as payload on the response of /generate but no cookie.

stongo commented 8 years ago

I've updated the example. Also try setting CORS credentials to true (if using CORS)

genediazjr commented 8 years ago

got it. thanks!

lock[bot] commented 4 years ago

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.