code: function (uid) {
  					// Save provider-specific information to the user
  					User.setUserField(uid, constants.name + 'Id', payload.oAuthid);
  					db.setObjectField(constants.name + 'Id:uid', payload.oAuthid, uid);
  
  					if (payload.isAdmin) {
  						Groups.join('administrators', uid, function (err) {
  							callback(err, {
  								uid: uid,
  							});
  						});
  					} else {
  						callback(null, {
  							uid: uid,
  						});
  					}
  				}
docs: New User