feathersjs-ecosystem / authentication-oauth2

[MOVED] OAuth 2 plugin for feathers-authentication
https://github.com/feathersjs/feathers
MIT License
26 stars 15 forks source link

Entity could be an array? #87

Closed testless closed 6 years ago

testless commented 6 years ago

Hi there, I think that service('user').create(...) might return an array in some cases, thus not providing an userId on initial OAuth2-Signup.

https://github.com/feathersjs/authentication-oauth2/blob/e40835f5cd849cda61ce75455bd7b4d12d2ee6a7/lib/verifier.js#L111

daffl commented 6 years ago

Closed via #88