Reputation: 20165
Looking for an OpenID consumer in node.js
It is not on this list http://openid.net/developers/libraries/
Is there one?
Upvotes: 19
Views: 4798
Reputation: 130501
Maybe Passport will be good for your needs:
passport (copied from their website)
Passport is authentication middleware for Node.js. Extremely flexible and modular, Passport can be unobtrusively dropped in to any Express-based web application. A comprehensive set of strategies support authentication using a username and password, Facebook, Twitter, and more.
Features:
Upvotes: 1
Reputation: 27463
Everyauth is on the list at http://openid.net/developers/libraries/ but it is listed under "everyauth" instead of "Javascript" or "node.js".
It claims to be a "node.js auth package (password, facebook, & more) for Connect and Express apps" and claims to work with ~30+ services, including OpenID. Facebook, Twitter, Google, LinkedIn, DropBox, Tumblr, GitHub, and a bunch of others.
It is being actively developed, judging from the recent github commits for June 2013.
Upvotes: 0
Reputation: 23886
I've written OpenID for node.js and shared the code at https://github.com/havard/node-openid. It is a fully OpenID 2.0 (and partially OpenID 1.1) compliant Relying Party.
For more information on the library, you can also read the announcement blog post.
UPDATE: As of 2011-09-04, the library is a fully OpenID 1.0/1.1 compliant Relying Party as well.
Upvotes: 35