Installation: npm install oauth-server
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