mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
better munging twitter data for updateOrCreateUser
This commit is contained in:
committed by
Nick Martin
parent
9c8fd2958e
commit
7d7ac074df
@@ -10,12 +10,17 @@
|
||||
|
||||
return {
|
||||
options: {
|
||||
// XXX Figure out what to do here
|
||||
email: identity.screen_name + '@OAUTH1_TWITTER',
|
||||
// XXX Do we want to keep the accessTokenSecret also?
|
||||
services: {twitter: {id: identity.id, accessToken: oauth.accessToken}}
|
||||
services: {
|
||||
twitter: {
|
||||
id: identity.id,
|
||||
screenName: identity.screen_name,
|
||||
accessToken: oauth.accessToken
|
||||
}
|
||||
}
|
||||
},
|
||||
extra: {name: identity.name}
|
||||
extra: {
|
||||
name: identity.name
|
||||
}
|
||||
};
|
||||
});
|
||||
}) ();
|
||||
|
||||
Reference in New Issue
Block a user