-
Notifications
You must be signed in to change notification settings - Fork 844
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
Storage clients should use tenant ID from authentication challenge #23678
Comments
Thank you for your feedback. Tagging and routing to the team member best able to assist. |
This happens because the client doesn't specify the tenant when authenticating after receiving a challenge:
We'll have to ship a new version to make |
I can confirm that passing additional tenant id helps accessing key vault as well. Another option seems to be downgrading this package
but just using
is enough in my case. |
Just to clarify, the latest Key Vault modules use tenant IDs from authentication challenges. They do this automatically, however you usually need to set corresponding This issue tracks adding the same behavior to Storage modules. |
Hmm,
Previously I didn't have additional allowed tenants set at all but once I
updated package to the latest one I had to add it.
While behaviour was the same that described here I thought it is related.
…On Fri, 8 Nov 2024, 16:02 Charles Lowell, ***@***.***> wrote:
Just to clarify, the latest Key Vault modules use tenant IDs from
authentication challenges. They do this automatically, however you usually
need to set corresponding AdditionallyAllowedTenants on credential
options as well.
This issue tracks adding the same behavior to Storage modules.
—
Reply to this email directly, view it on GitHub
<#23678 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APDJYBKBRZA3ZARD76HCNLLZ7S76NAVCNFSM6AAAAABQ6UCBHGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRUHA2DCNRQHA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hi @MKrkkl , thanks for reporting this. We are reviewing this issue, and will have a fix in our next GA release scheduled in January 2025. |
Bug Report
We used Python SDK for multi tenant authentication. Our tenant is A and we want to access the blob storage in tenant B. We have set up the cross tenant authentication. In our python SDK. Our code is as follows. We can successfully access the blob storage.
But when we use Go SDK we had the authentication issue.
We had this authentication error.
But if we changed the tenant ID in the NewClientSecretCredential. Then we can access the blob storage in B.
I think there is some bug in the Go SDK. Could you check and fix the issues?
The text was updated successfully, but these errors were encountered: