I’m using a redirect method to log users in via Google.
I’d like to show a spinner once the user is being logged in as it can take a little while.
But I’ve noticed that Meteor.loggingIn() is always false.
I verified it with the following code:
Tracker.autorun(() => {
console.log('isLoggingIn', Meteor.loggingIn())
})
What is interesting is that it is true when I reload the page and I guess there’s a moment where it’s checking the auth token for validitity.
How can I get Meteor to properly set LoggingIn while logging in via Google ?