How to implement WS-Federation using Thinktecture.IdentityServer.v2 with Node.js?

I'm just hoping someone can point me in the right direction.

We have Thinktecture.IdentityServer.v2 running and working beutifully with out ASP.Net apps. I'm now working on an app with node.js. No Microsoft code at all.

Can someone give me some links to get me started? Is there any tutorials out there that I haven't been able to find?

I found https://www.npmjs.org/package/node-wsfed but i'm not sure if it does what I need. (or more to the point how to get it to do what I need)

Ok I have found the solution to this in case anyone else ends up here

Just need to use http://passportjs.org/ and use the passport-wsfed-saml2 stategy