hapijs / crumb

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

403 forbidden even when x-csrf-token is set #96

Closed smahi closed 7 years ago

smahi commented 7 years ago

Hi, I am using hapi as api backend and aurelia.js as fontend, i am using crumb plugin also and set up options restful to true. For any of my request to the backend i've appended x-csrf-token to the headers array, but unfortunately i am getting Forbidden (403) error, did i miss something ? Knowing that i am not using any views , i am simply serving the index.html

smahi commented 7 years ago

It seems that the issue is in the front end, sorry about that.

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.