-
Notifications
You must be signed in to change notification settings - Fork 15.8k
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
Fixes: community: fix AzureSearch Oauth with azure_ad_access_token #26995
Fixes: community: fix AzureSearch Oauth with azure_ad_access_token #26995
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
your fix seems more stable than mine, so go ahead and merge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since this doesn't work anyways, should we just remove it?
The original justification was that this was an auth format that AzureOpenAI supports, and I'm starting to think it's an antipattern based on the difficulty to use it from the azure sdk
I think it's ok that Azure OpenAI service supports some different auth formats than azure vectorsearch given they're configured differently.
What are your thoughts?
what do you mean by it doesn't work anyway? this fix allows to use oauth token successfully. |
@efriis can we proceed on this PR? we'd love to reuse it on our side (Dataiku company) to allow our customers to use oauth per user using the oauth tokens. |
@efriis is there any chance to get this PR merged soon? We have to use |
sorry for the delay. I still don't love these wrapper classes on tokens that are auto-computing expirations - hopefully the azure team has a better auth mechanism in store for some of the langchain-azure integrations! |
Description:
AzureSearch vector store: create a wrapper class on
azure.core.credentials.TokenCredential
(which is not-instantiable) to fix Oauth usage withazure_ad_access_token
argumentIssue: the issue it fixes
Dependencies: None