OAuth from provider site

Hi, we are having an issue trying to get OAuth working with Meteor.

We are able to create a login button on our website, open providers OAuth screen as a popup , call back and get the user logged in.

However if we are trying to login directly from the provider, which they call our site directly with the code, and no state param, then login doesn’t work.

Do you have any ideas on how to solve this?

Related issues:
https://github.com/meteor/meteor/issues/8678
https://github.com/meteor/meteor/issues/4835

Thank you