Accounts.createUser allows you to pass options that Accounts.onCreateUser takes in. Is it possible to do the same thing with Meteor.loginWithGoogle or the other loginWith functions when a user is first created with those functions?
For example, I would like to do
Meteor.loginWithGoogle({role: 'company'});
Accounts.onCreateUser(function (options, user) {
user.roles = [option.role];
return user;
});