Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

Use profile scope instead of contacts? #6

Open
grantneufeld opened this issue Jun 12, 2012 · 2 comments
Open

Use profile scope instead of contacts? #6

grantneufeld opened this issue Jun 12, 2012 · 2 comments

Comments

@grantneufeld
Copy link

When omniauth-google was first written, I don't think the profile scope was available. Now Google has a couple userinfo scopes that may be better to use than the contacts scope:

userinfo.profile:

Gain read-only access to basic profile information, including a user identifier, name, profile photo, profile URL, country, language, timezone, and birthdate.

userinfo.email:

Gain read-only access to the user's email address.

See Google's description (including the full scope urls) at:
https://developers.google.com/accounts/docs/OAuth2Login#scopeparameter

@MatthewBellows
Copy link

Thanks Grant!

@grantneufeld
Copy link
Author

I haven't looked at it yet (preoccupied with other tasks this week), but @davidkpham has posted a pull request that apparently switches to the new userinfo scopes as described above:
#7

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

No branches or pull requests

2 participants