oauthjs / node-oauth2-server

Complete, compliant and well tested module for implementing an OAuth2 Server/Provider with express in node.js

Home Page:https://npmjs.org/package/oauth2-server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

the props of grants & redirectUris are user's scope, but binded at client object

jincheng-me opened this issue · comments

here is a case that one client has one thousand of users, each user has a redirect url.

the client object will bind one thousand of urls, it is too cost for memory.

so i think that getClient function should take user params, or check the grants and redirectUris with user object

here is a case that one client has one thousand of users, each user has a redirect url.

the client object will bind one thousand of urls, it is too cost for memory.

so i think that getClient function should take user params, or check the grants and redirectUris with user object