Passport and Meteor integration?

I am trying to use passport and gain advantage of the large eco-system of login-systems.

I am however stuck at trying to integrate it with Meteor. All the passport examples are related to being used with connect or express as middleware. They all use res and req objects as part of the flow. Which does not seem to be what I want - and I can’t seem to figure out how to integrate passport with meteor.

Is someone here able to understand how this could be done? I wa almost hoping that someone had written a meteor-passport library, that would integrate them. I somehow think that it should be possible, or?

3 Likes