I used Google OAuth in my code
Meteor.loginWithGoogle({
requestPermissions: ['email']
}, function(error) {
if (error) {
console.log(error); //If there is any error, will get error here
} else {
const user = Meteor.user();
console.log(user);
}.bind(this));
I can only get name from user, and when I used a third-party google account, the username is empty. I was wondering wether there is any other way that I can get user information from Google OAuth.