This module lets you authenticate using LDS.org in your Node.js applications.
By plugging into Passport, LDS.org authentication can be easily and
unobtrusively integrated into any application or framework that supports
Connect-style middleware, including
Express.

The ldsconnect authentication strategy authenticates users using an LDS.org
account and OAuth 2.0 tokens. The strategy requires a verify callback, which
accepts these credentials and calls done providing a user, as well as
options specifying a app ID, app secret, and callback URL.

passport.use(newLdsConnectStrategy({

// These are the working demo app id and app secret

clientID:'55c7-test-bd03',

clientSecret:'6b2fc4f5-test-8126-64e0-b9aa0ce9a50d',

// defaults to '/api/ldsorg/me', which is not as easy to use

profileUrl:'/api/ldsconnect/me',

// local.ldsconnect.org points to 127.0.0.1 and is an authorized domain for demo apps