I referred to this example and the LocalStrategy did work.
But when I submit the login form with "Windows Strategy" enabled it gives below output.
Whereas I expect it to either go to /succ or /fail .
BTW when I run the program without the firewall I do get below message which makes me think that it is trying to access the server.
I am actually not sure if the problem is with the module or my implementation. But still thought of asking.
I am not able to make it work with koajs.
Below are the relevant code.
in app.js
in auth.js
I referred to this example and the LocalStrategy did work. But when I submit the login form with "Windows Strategy" enabled it gives below output.
Whereas I expect it to either go to
/succ
or/fail
.BTW when I run the program without the firewall I do get below message which makes me think that it is trying to access the server.![screen shot 2015-06-19 at 2 37 00 pm](https://cloud.githubusercontent.com/assets/425732/8250409/11bddacc-1691-11e5-818b-f921595e0fdf.png)
I am actually not sure if the problem is with the module or my implementation. But still thought of asking.
Any direction will be much appreciated.