mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
GitHub save more data retrieved from GitHub
This commit is contained in:
@@ -6,6 +6,9 @@
|
||||
|
||||
#### Meteor Version Release
|
||||
|
||||
* `github-oauth@1.4.0`
|
||||
- More data will be retrieved and saved under `services.github` on the user account.
|
||||
|
||||
#### Independent Releases
|
||||
|
||||
* `github-oauth@1.3.2`
|
||||
|
||||
@@ -15,6 +15,12 @@ OAuth.registerService('github', 2, null, (query) => {
|
||||
accessToken: OAuth.sealSecret(accessToken),
|
||||
email: identity.email || (primaryEmail && primaryEmail.email) || '',
|
||||
username: identity.login,
|
||||
name: identity.name,
|
||||
avatar: identity.avatar_url,
|
||||
company: identity.company,
|
||||
blog: identity.blog,
|
||||
location: identity.location,
|
||||
bio: identity.bio,
|
||||
emails
|
||||
},
|
||||
options: { profile: { name: identity.name } }
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: 'GitHub OAuth flow',
|
||||
version: '1.3.2'
|
||||
version: '1.4.0'
|
||||
});
|
||||
|
||||
Package.onUse(api => {
|
||||
|
||||
Reference in New Issue
Block a user