Server, supporting OAuth version 1.0A
JavaScript
Switch branches/tags
Nothing to show
Latest commit f7f2a11 Apr 19, 2011 @KirillTemnov KirillTemnov update readme
Permalink
Failed to load latest commit information.
examples Fixed body and cookie errors. Apr 16, 2011
lib Fix #2 issue Apr 19, 2011
README.md update readme Apr 19, 2011
TODO.org Add server and consumer examples. Feb 5, 2011
main.js Update package version. Feb 4, 2011
package.json Fix #2 issue Apr 19, 2011

README.md

Server-side implementation of OAuth 1.0A protocol.

Installation: npm install oauth-server

Usage example:

Add example.com to your hosts file:

echo "127.0.0.1	example.com" >> /etc/hosts

Launch in console from repo root:

node examples/server.js&
node examples/consumer.js&

Browse to http://example.com:3000 and follow instructions

Note

This server handles requests for one (anonimous) user. Add store with users and connect them with access keys. If you will test both server and consumer, set various domain names, because consumer and oauth server must have different cookie files