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:node-openid-client/lib/issuer.js
Line 69 in ba58699
However, the cache is only ever used in the
webfinger()
method:node-openid-client/lib/issuer.js
Lines 123 to 124 in ba58699
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