Skip to content

Latest commit

 

History

History
26 lines (14 loc) · 552 Bytes

README.md

File metadata and controls

26 lines (14 loc) · 552 Bytes

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

For correct operation of the examples requires oauth and connect installation, so install it via npm:

npm install oauth connect    

Launch in console from repo root: node examples/server.js& node examples/consumer.js&

Browse to example.com:3000 and follow instructions