loopback4-authentication icon indicating copy to clipboard operation
loopback4-authentication copied to clipboard

Can we use MongoDB instead of Redis?

Open siva-nadella-lab opened this issue 1 year ago • 3 comments

Describe the bug According to the documentation and code, we see that Redis is used for RevokedTokenRepository and RefreshTokenRepository. Is this mandatory?

Can I use MongoDB instead?

siva-nadella-lab avatar Apr 03 '24 13:04 siva-nadella-lab

we are using keyvalue repository hence used redis

yeshamavani avatar Apr 03 '24 14:04 yeshamavani

Understood... Thank you for your response. We are currently not seeing the need to use Redis for this purpose. Apart from it being a KeyValue pair, is there any other reason you have on why Redis or any other such caching utility is needed?

siva-nadella-lab avatar Apr 04 '24 19:04 siva-nadella-lab

Caching is the only reason we have used Redis

yeshamavani avatar May 14 '24 10:05 yeshamavani

This issue has been marked stale because it has not seen any activity within three months. If you believe this to be an error, please contact one of the code owners. This issue will be closed within 15 days of being stale.

stale[bot] avatar Aug 12 '24 10:08 stale[bot]

This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners.

stale[bot] avatar Aug 27 '24 11:08 stale[bot]