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

Google (OAuth 2.0) authentication strategy for Passport and Node.js.

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

this is my implementation and everything that I tried it will not return the gender and birthday as indicated in the documentation GOOGLE_FIELDS='id,birthday,email,gender,family_name,given_name,locale,picture,profile' GOOGLE_SCOPE='profile,email,openid,https://www.googleapis.com/auth/user.birthday.read,https://www.googleapis.com/auth/user.gender.read' ``` passport.use(new GoogleStrategy({ clientID: process.env.GOOGLE_CLIENTID, clientSecret:...

Hello, I am facing following issue with all the passport-oauth2 can someone please help https://stackoverflow.com/questions/71361256/ouath-social-logins-in-react-js-and-nodeexpress-with-different-sub-domains

I am using passport JS with backend, I have an android application and a react web client, I want to be able to sign in on both clients with the...

Hi! I am not able to access the refreshToken inside the 'new Strategy' callback function. When logging in it does ask for offline access, and everything works, except for accessing...

@natanbr yes, here what I'm currently doing: ``` const passportGoogle = require('passport-google-oauth').OAuth2Strategy; const computeConnectedUser = strategy => (req, accessToken, refreshToken, profile, done) => done(false, { strategy, accessToken, refreshToken, ...profile });...

I run this code and I login with Google, but no user is stored in req, so when it redirects back to the index page, it still shows "Login" and...

Hello, I followed the steps given but as soon as i click on "Allow" after logging into my google account, it breaks with the below error:- Error at D:\ASU\SER 517\Oauth_mstade\passport-google-oauth2\example\node_modules\passport-google-oauth2\lib\oauth2.js:92:28...