passport-oauth2 icon indicating copy to clipboard operation
passport-oauth2 copied to clipboard

OAuth 2.0 authentication strategy for Passport and Node.js.

Results 98 passport-oauth2 issues
Sort by recently updated
recently updated
newest added

In reference to #51 #52, this pull request resolved the conflicts, and create the new branch from latest master branch of passport-oauth2. Add `autoResolveCallback` property to disabled auto attach the...

On the client side, I'm using gapi to grab an authorization code from google and then passing that code to passport-google-oauth via a REST service. Google is expecting passport to...

this resolves #28, resolves #46, resolves #57, resolves #91

Hi, I was trying use this library for authentication using our internal oAuthprovider. They are using openId connect as oAuth provider. I am changing the original URL and client id...

In some unusual circumstances, we'd like to do a "meta-redirect" instead of the standard HTTP redirect. I.e. serve a 200 response with a meta tag and http-equiv=refresh to trigger the...

Strategy calls error here (passport-oauth2/lib/strategy.js:175). Error function (passport/lib/middleware/authenticate.js:361) expects there to be a next variable in scope. There is no next variable in scope. { "errorType": "TypeError", "errorMessage": "next is...

Hi there, Struggling to understand how to pull out User on other routes that are mounted with Koa. **SETUP:** ``` server.koaApp.use(koaSession( { key: sessionKey, rolling: true, maxAge: sessionMaxAge, sameSite: 'none',...

Node.js is widely used as a backend for SPAs. SPAs that use an OAuth2 flow usually open a popup with the authorization URL. So the whole authorization part is handled...

I'm using this library (and will happily contribute :) ), and it's doing the job I need really well. BUT: need my app to be stateless as I'm deploying it...

``` passport.use(new OAuth2Strategy({ authorizationURL: 'http://localhost:3001/oauth2/authorize', tokenURL: 'http://localhost:3001/oauth2/token', callbackURL: '', clientID: 'testID', clientSecret: 'secret', }, function (accessToken, refreshToken, profile, cb) { console.log("Yaay"); cb(); })); ``` ``` app.get('/test', passport.authenticate('oauth2', {session: false}), (req,...