I’m connecting to a 3rd party API, Intuit Quickbooks, to get a user’s credentials. I’ve implemented the callback as they require and can successfully get the credentials. Within the callback, I call a meteor methods function to update the profile of the currently logged in user with the credentials passed in as a parameter. However, Meteor cannot find the user.
I’ve tried using Meteor.Async and BindEnvironment, but I get the same issue. Is it possible to know which user initiated the request to the 3rd party API when the API returns to the callback? I’m confused, please help.