sourcefuse / loopback4-authentication

A loopback-next extension for authentication feature. Oauth strategies supported.
https://www.npmjs.com/package/loopback4-authentication
MIT License
73 stars 33 forks source link

Can we use MongoDB instead of Redis? #220

Closed siva-nadella-lab closed 2 months ago

siva-nadella-lab commented 6 months ago

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?

yeshamavani commented 6 months ago

we are using keyvalue repository hence used redis

siva-nadella-lab commented 6 months ago

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?

yeshamavani commented 5 months ago

Caching is the only reason we have used Redis

stale[bot] commented 2 months ago

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] commented 2 months ago

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.