TypeError: argument of type 'NoneType' is not iterable in msal_client.py #23483
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.
issue-addressed
Workflow: The Azure SDK team believes it to be addressed and ready to close.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
Sometimes when authenticating with ClientSecretCredential class I get this error:
To Reproduce
Steps to reproduce the behavior:
The error appears sometimes, I cannot reproduce the error with a fixed set ot steps.
Expected behavior
It should raise a ClientAuthenticationError with the correct error.
Additional context
I suggest to change this line:
https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/identity/azure-identity/azure/identity/_internal/msal_client.py#L53
from:
to:
The text was updated successfully, but these errors were encountered: