AzureAD/microsoft-authentication-library-for-python

[Supportability Bug] Deprecate WithClientAssertion(string) as it leads to assertion expiration issues

gladjohn opened this issue · 1 comments

Scenario

ConfidentialClient - web site (AcquireTokenByAuthCode), ConfidentialClient - web api (AcquireTokenOnBehalfOf), ConfidentialClient - service to service (AcquireTokenForClient)

Is this a new or an existing app?

None

Issue description and reproduction steps

We keep getting feedback that WithClientAssert(string) causes expiration issues.

Relevant code snippets

No response

Expected behavior

No response

Identity provider

Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)

Regression

No response

Solution and workarounds

No response

Soft deprecate only if possible (e.g. a warning but code should still work)