passport icon indicating copy to clipboard operation
passport copied to clipboard

Simple, unobtrusive authentication for Node.js.

Results 159 passport issues
Sort by recently updated
recently updated
newest added

### Source : [link]( https://github.com/jaredhanson/passport-local/tree/master/examples) ### Section: Examples. ### Expected A Github repository that contains examples of passport-local. ### Current [Page Not Found](https://github.com/jaredhanson/passport-local/tree/master/examples)

In React apps, we compile the React code and save it in the /build directory. With Express, we serve static assets using `app.use('/profile', isAuthenticated, express.static(path.join('apps', 'home', 'build')));` Passport seems to...

I am trying to use [this strategy (passport-google-oauth20)](https://github.com/jaredhanson/passport-google-oauth2) to get OAuth 2.0 with Google working on my website. However, after I am redirected back to my own site by Google...

I hit a use case where I needed to refresh `req.user` with new information without logging in and out. Somebody on Stack Overflow pointed me to calling `req.login()` with the...

I can't find any documentaiton about this. Specifically I am wondering how and where the passport.initialize call should be made.

As per https://github.com/jaredhanson/passport/issues/6#issuecomment-4857287, one needs to pass `false` or `null` to the `done` callback when the user could not be deserialized in order for passport to invalidate the session. The...

I implemented Facebook, LinkedIn & Google strategies in an Express/node app using Oauth 2.0. It works fine on fast connections (Ethernet cable & 4G mobile) . However, in a slow...

Hi, I am using graphql which expects promises in it's resolvers and so I end up wrapping functions like `passport.authenticate` with a promise like: ```es6 export const authenticate = (req,...

Hi there, Suppose I need two different passports within one express application (e.g. user & room). So I define two separate vars: ``` var passport = require('passport'); var roomPassport =...

Documenting isAuthenticated middleware. Response to issue #498.