manjeshpv / node-oauth2-server-implementation

Using oauth2-server: 3.0.0-b2 & Supports MongoDB, MySQL, PostgreSQL, MSSQL & SQLite
216 stars 103 forks source link

user is undefined #26

Closed peng-huang-ch closed 6 years ago

peng-huang-ch commented 6 years ago

https://github.com/manjeshpv/node-oauth2-server-implementation/blob/5dc36da4a093bf3c0f4d5a10027df822850a642d/components/oauth/models.js#L241

FrozenCaptain commented 6 years ago

The fix in issue #19 results in a missing parameter scope in function validateScope(). The function will always return false. Results in a 503.

Remove the current line with return true Temporarily

peng-huang-ch commented 6 years ago

thanks a lot.