oauthjs / express-oauth-server

Complete, compliant and well tested module for implementing an OAuth2 Server/Provider with express in node.js
MIT License
484 stars 384 forks source link

Fix 'Quick Start' documentation #27

Closed richorton closed 8 years ago

richorton commented 8 years ago

Hey,

Just a head's up that the 'Quick Start' documentation has a minor mistake which could potentially cause a few headaches :)

app.use(app.oauth.authorise());

should be changed to be...

app.use(app.oauth.authorize());

Thanks!

blingz commented 8 years ago

z not s

mlasevich commented 8 years ago

Also case issues - bodyParser != bodyparser

ruimarinho commented 8 years ago

Thanks, landed in https://github.com/oauthjs/express-oauth-server/commit/2274bf1d2b1f5af1914e567502b523525a68ddb1.