jaredhanson / passport-google

Google (OpenID) authentication strategy for Passport and Node.js.
MIT License
150 stars 85 forks source link

profile does not contain id or provider #12

Open Deathspike opened 11 years ago

Deathspike commented 11 years ago

As described by the title, the Google strategy does not provide a profile object containing an identifier or provider name, as expected from http://passportjs.org/guide/profile/

zolzaya commented 10 years ago

+1

j-m-x commented 10 years ago

+1

richdunajewski commented 9 years ago

+1 I confirm the same, in my case using Sails.js. Profile returned is as follows:

{ displayName: 'Rich Dunajewski', emails: [ { value: 'redacted@gmail.com' } ], name: { familyName: 'Dunajewski', givenName: 'Rich' } }

Thus, we end up recreating the passport/user multiple times because we can't find the existing passports using our query.