Git Product home page Git Product logo

passport-imap's People

Contributors

devadattas avatar geektantra avatar septblast avatar techiemanas avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

passport-imap's Issues

Success fallback?

Hello,
sorry for such a stupid question, but I'm new to passport (and node.js too). I'm trying to implement an imap authentication strategy, I believe I'm doing a successful login but I'm not redirected to my app, the warning I see is "Success fallback is required to generate the user".
How should I provide my success callback? My login function is now:

app.post('/login',
passport.authenticate('imap', { failureRedirect: '/login' }),
function(req, res) {
res.redirect('/app');
});

Thanks for any help.

Not found in npmjs registry

» npm install passport-imap
npm WARN package.json [email protected] No repository field.
npm http GET https://registry.npmjs.org/passport-imap
npm http 404 https://registry.npmjs.org/passport-imap
npm ERR! 404 'passport-imap' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.

npm ERR! System Linux 3.14.0-gentoo
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "passport-imap"
npm ERR! cwd /home/none/dev/proto2.dev
npm ERR! node -v v0.10.24
npm ERR! npm -v 1.3.21
npm ERR! code E404
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/none/dev/proto2.dev/npm-debug.log
npm ERR! not ok code 0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.