strongloop / loopback-component-oauth2

oAuth 2.0 server for LoopBack
http://www.strongloop.com
Other
62 stars 63 forks source link

Fix the oAuth2 auth middleware for an array of handlers #10

Closed raymondfeng closed 9 years ago

raymondfeng commented 9 years ago

/to @bajtos

The PR fixes an regression introduced by https://github.com/strongloop/loopback-component-oauth2/pull/9. Please note that there are an array of handlers behind authenticate.

bajtos commented 9 years ago

Good catch, the change LGTM.

How comes the regression was not caught by end-to-end tests in strong-gateway?