Skip to content
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

support microsoft entra id for authentication with azure cache for redis (tokens can expire) #3405

Open
dimbleby opened this issue Oct 6, 2024 · 1 comment

Comments

@dimbleby
Copy link

dimbleby commented Oct 6, 2024

Azure cache for redis supports authentication using microsoft entra tokens, it would be great if I could make use of that with this client.

https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-azure-active-directory-for-authentication#microsoft-entra-client-workflow describes what needs doing, providing the appropriate values for username and password should be easy per the existing CredentialProvider interface.

However so far as I can see there is no mechanism for detecting that the token is about to expire and refreshing it and issuing a fresh AUTH.

Thanks!

@vladvildanov
Copy link
Collaborator

@dimbleby Hey, thanks for reaching us out! We're currently working on a new functionality that will allow to use EntraID as an IdentityProvider. Check for the updates!

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

No branches or pull requests

2 participants