node-oauth / node-oauth2-server

🚀 The successor to oauthjs/oauth2-server. 🔒 Complete, compliant, maintained and well tested OAuth2 Server for node.js. Includes native async await and PKCE.
https://www.npmjs.com/package/@node-oauth/oauth2-server
MIT License
310 stars 46 forks source link

Support for retrieving user based on client #256

Closed jorenvandeweyer closed 1 year ago

jorenvandeweyer commented 1 year ago

Summary

Pass the client to the getUser function of the model. This makes it possible to retrieve the user based on the client.

Linked issue(s)

114

Involved parts of the project

Password Grant Type

Added tests?

Yes