Skip to content

Reauthentication with Azure AD / Entra ID #742

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
SorianoMarmol opened this issue Apr 18, 2024 · 1 comment
Open

Reauthentication with Azure AD / Entra ID #742

SorianoMarmol opened this issue Apr 18, 2024 · 1 comment
Labels

Comments

@SorianoMarmol
Copy link

SorianoMarmol commented Apr 18, 2024

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.
redis/redis-py#3008

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

Thanks a lot

@MaartenUreel
Copy link

Did you ever find a proper implementation for this? Trying to accomplish the same. I am updating the

settings.CACHES["default"]["OPTIONS"]["PASSWORD"]

in the health check with an up to date password but the connection still fails after a while, so it is not being picked up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants