You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would you consider a way to disable caching? As currently written, caching in this LRU only wastes memory if we're not using webfinger(). Even if that is changed, we don't need caching because we store the issuer info in our database.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
The
Issuer
constructor caches instances of itself:https://github.com/panva/node-openid-client/blob/ba5869994ab67edeefbbd40af656e39021d1afa6/lib/issuer.js#L69
However, the cache is only ever used in the
webfinger()
method:https://github.com/panva/node-openid-client/blob/ba5869994ab67edeefbbd40af656e39021d1afa6/lib/issuer.js#L123-L124
Is that the intended behavior?
Would you consider a way to disable caching? As currently written, caching in this LRU only wastes memory if we're not using
webfinger()
. Even if that is changed, we don't need caching because we store the issuer info in our database.Thanks,
Zach
Beta Was this translation helpful? Give feedback.
All reactions