ClientAssertionCredential constructor fails if kwargs are provided #33673
Labels
Azure.Identity
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
The ClientAssertionCredential constructor accepts the
authority
andadditionally_allowed_tenants
arguments through kwargs. However, if any of those arguments are provided, they are incorrectly bubbled up through a super().init(**kwargs) call toGetTokenMixin
andabc.ABC
. That ultimately makes construction fail with:To Reproduce
Expected behavior
The
ClientAssertionCredential
object is built successfully.Additional context
I'm currently working around this by forcefully inspecting the credential object and injecting the settings as needed.
The text was updated successfully, but these errors were encountered: