Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
public/stylesheets
views
README.md
app.js
package.json

README.md

Introduction

This is the consumer app for the Hop.js oauth provider app. This all will request that the user authenticate with the other application and then will utilize one of the protected services offered by the other application.

  1. Start thie consumer app first
(cd ../consumer && node-dev app.js)
  1. Start the provider application
(cd ../oauth/ && node-dev app.js)
  1. Visit the consumer application on port 3010
  2. Click 'Perform oauth with provider'
  3. Enter the user test / test
  4. You will be redirected back to this application
  5. Click 'Test to see if oauth is working'
  6. If it worked you'll see
    { 
        input:'foo',
        secret:'redkittens'
    }
Something went wrong with that request. Please try again.