django-redis icon indicating copy to clipboard operation
django-redis copied to clipboard

Reauthentication with Azure AD / Entra ID

Open SorianoMarmol opened this issue 10 months ago • 0 comments

Hello,

First, I would like to thank you for your work and effort; I am a follower of several of your packages and they are very useful.

I am analyzing a change in authentication for Redis based on Azure Entra ID (formerly Azure AD) and I can't think of a simple way to include a reauthentication system when the token expires.

It doesn't seem easy to include the Azure SDK proposed solution:

https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/identity/azure-identity/samples/azure-aad-auth-with-redis-py.md#authenticate-with-microsoft-entra-id-handle-re-authentication

I'm also not sure if it can be managed at this level, or if it would rather be handled by redis-py. https://github.com/redis/redis-py/issues/3008

Can anyone guide me? Is there something currently available, or is there any thought of implementing something in this regard?

Thanks a lot

SorianoMarmol avatar Apr 18 '24 08:04 SorianoMarmol