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

const router = require('express').Router() const User = require('../models/user.model') const { body, validationResult } = require('express-validator') const passport = require('passport') router.get('/login', ensureNotAuthenticated, async(req, res, next) => { res.render('login') }) router.post('/login', ensureNotAuthenticated,...

I am trying google signIn using angular2 and nodejs where angular2 and nodejs are running on 4200 and 3000 port respectively.So, when I click on SignIn with Google(button) it throws...

Using [email protected] with OIDC strategy from [email protected] and [email protected] for session state in the strategy config I have e.g. ```js passport.use(new OIDCStrategy(OIDCparams, function (req, iss, sub, profile, msAccessToken, msRefreshToken, done)...

I am using the following packages: - [passport](https://github.com/jaredhanson/passport) `0.6.0` - [passport-azure-ad](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/maintenance/passport-azure-ad) `4.3.3` (microsoft strategy) - [@superfaceai/passport-twitter-oauth2](https://github.com/superfaceai/passport-twitter-oauth2) `1.0.0` (twitter strategy) When including [passport-azure-ad](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/maintenance/passport-azure-ad) as a Microsoft Azure AD strategy, passport throws...

I have passport working very well with facebook and google as providers. I am testing login and logout cycles, and it seems the session is dropped from time to time....

I am hoping to correct a linking mix up to help others in the future. There was a previous issue for the tutorial links being mixed up (issue #874). I...

I am the author of MeshCentral and use `cookie-session` along with Password. A recent [commit in Password](https://github.com/jaredhanson/passport/commit/7e9b9cf4d7be02428e963fc729496a45baeea608) is [causing crashes](https://github.com/Ylianst/MeshCentral/issues/4034) because `cookie-session` does not have a regenerate() or save() method....

bug
enhancement

Feature request to support authenticating with the Jasig CAS protocol.

I developed a package for Faceit (https://github.com/amber-gg/passport-faceit) and I would like to know want are the criteria to be included to the passportjs strategies page (https://www.passportjs.org/packages/)? The current `passport-faceit` on...

website

### Expected behavior I expect a flash message to showing up when a user is logged successfully with successFlash option of passport.authenticate(), like this: ```js //passport.js passport.use('local.signin', new LocalStrategy({ usernameField:...