abbr / NodeSSPI

Server-side windows authentication for Node.js
MIT License
156 stars 19 forks source link

Integration with Hapi-server #71

Closed mandros1 closed 5 years ago

mandros1 commented 5 years ago

Version of the code with express is functional and works as it should, but when I wanted to convert that code to use on the server generated by hapi (which has some kind of node-sspi integration, but I am not sure how to access it since the configuration is completely different). Problem is that our application crashes without any kind of error message it just completely stops working, after I went into the code a bit it breaks when entering binding.authenticate which is called inside main.prototype.authenticate. Only thing coming to my mind is that express adds/processes request objects differently than our Hapi.server since it works perfectly on the given example. Any help or input would be greatly appreciated.