Closed chainlink closed 8 years ago
Tests fail due to changes to Node-OAuth-server, fixed in https://github.com/oauthjs/express-oauth-server/pull/35
ExpressOAuthServer
is not supposed to be a closure. It's a constructor.
The problem with this
should be fixed once #19 is corrected and merged.
Fixed in latest master thanks!
When using this function directly (not inside a node module)
this
does not get set correctly inside functions. This PR makes ExpressOAuthServer a proper closure, which corrects setsthis
inside the middleware functions.