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

Google authentication strategy for Passport and Node.js.

Results 57 passport-google-oauth2 issues
Sort by recently updated
recently updated
newest added

** READ THIS FIRST! ** #### Are you looking for help? Reminder: The issue tracker is not a support forum. Issues should only be filed in this project once they...

question

** READ THIS FIRST! ** #### Are you looking for help? Reminder: The issue tracker is not a support forum. Issues should only be filed in this project once they...

Hey all, I'm spinning up a new project using Passport and the Google OAuth 2.0 strategy, and I've spent the last day troubleshooting a particularly weird issue. Namely, when try...

After choosing the google account from the google page, the page redirect to my app but the process keep hanging then an error of " InternalOAuthError: Failed to obtain access...

I have used callback to let user sign in using google account, now when i restart server , it doesn't ask permission again and automatically logs the user in when...

I added in my app the state parameter like that: constructor() { super({ clientID: GOOGLE_CLIENT_ID, clientSecret: GOOGLE_SECRET, callbackURL: 'my callback url', state: JSON.stringify({ "redirectUrl" : "test" }), scope: ['email', 'profile'],...

I am stuck with the Missing required parameter: scope, its work fine on local environment but on production its throwing the said error I am passing the scope like below...

Using both https://github.com/mjhea0/passport-examples and https://github.com/barberboy/passport-google-oauth2-example I am getting the following error :- InternalOAuthError: failed to fetch user profile at C:\Users\aaron\Tests\JavaScript\Facebook\passport-examples\node_modules\passport-google-oauth2\lib\oauth2.js:92:28 at passBackControl (C:\Users\aaron\Tests\JavaScript\Facebook\passport-examples\node_modules\oauth\lib\oauth2.js:132:9) at IncomingMessage. (C:\Users\aaron\Tests\JavaScript\Facebook\passport-examples\node_modules\oauth\lib\oauth2.js:157:7) at emitNone (events.js:91:20) at...

i use : "passport-google-oauth20": "^2.0.0", "express": "~4.16.1", "express-session": "^1.17.2", "passport": "^0.4.1" this is my Strategy: `const passport = require('passport') const GoogleStrategy = require('passport-google-oauth20').Strategy; passport.use( new GoogleStrategy({ clientID: process.env.GOOGLE_CLIENT_ID, clientSecret: process.env.GOOGLE_CLIENT_SECRET,...

Google is seeing callback url as "http://localhost:4500/auth/auth/google/callback" //double "auth" this is the callback url I set on app settings. `http://localhost:4500/auth/google/callback` this is passport configuration: ``` passport.use( new GoogleStrategy.Strategy( { clientID:...