Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

profile does not contain id or provider #12

Open
Deathspike opened this issue Feb 27, 2013 · 3 comments
Open

profile does not contain id or provider #12

Deathspike opened this issue Feb 27, 2013 · 3 comments

Comments

@Deathspike
Copy link

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
Copy link

zolzaya commented Nov 30, 2013

+1

1 similar comment
@j-m-x
Copy link

j-m-x commented May 13, 2014

+1

@richdunajewski
Copy link

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

{ displayName: 'Rich Dunajewski',
emails: [ { value: '[email protected]' } ],
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants