Pauly Dee
Pauly Dee

Reputation: 747

Getting XAuth to work with Node.JS & OAuth

I'm building my first node.js app, and trying to integrate it with the Instapaper API. Instapaper only uses XAuth, and I'm a little confused how it works.

Should I use the node-oauth module and try to customize it for xauth? Or should I roll my own xauth? Or something else, maybe?

Upvotes: 0

Views: 912

Answers (2)

Derek Reynolds
Derek Reynolds

Reputation: 3503

Here is how to get it working with the oauth module.

https://stackoverflow.com/a/9645033/186101

You'd still need to handle storing the tokens for your users, but that answer should get you u and running for testing the API in node.

Upvotes: 0

Chance
Chance

Reputation: 11285

I'd checkout something like EveryAuth, see how they are handling the various options out there, forking it, and then contributing back with a new implementation.

Good luck man.

Upvotes: 0

Related Questions