Open adborden opened 9 years ago
Mounting an app at a non-root endpoint fails on the uri check because passport-http is only checking the relative uri as seen by the express app, not by the uri as seen by the client. e.g.
authApp = require('../modules/auth'); app.use('/auth', authApp); // ../module/auth.js app.get('/digest', passport.authenticate 'digest');
Seems to always yield 400.
+1
Uh sorry just saw there was already a pull request! @jaredhanson please accept either fix :)
@jaredhanson Any update on merge? #44 works for me.
Mounting an app at a non-root endpoint fails on the uri check because passport-http is only checking the relative uri as seen by the express app, not by the uri as seen by the client. e.g.
Seems to always yield 400.