Open Deathspike opened 11 years ago
+1
+1
+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.
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/