Fails to load page content on login


The behavior that I’m seeing in my project:

  • when a user logs in and that user is different than the last user to log in, Meteor does the login successfully but renders home page with no data content, just an empty page.
  • A refresh after that gets the data on page.
  • If the same user logs out and back in, the page loads with data content as expected.

This is using a custom authentication service, the login logic is implemented in this file. To replicate you would need to have the Metamask Chrome extension installed, but maybe someone here can provide some pointers replicating or not? How could I ensure that the page content loads correctly on any login?


Solved with—