-
Notifications
You must be signed in to change notification settings - Fork 155
[Bug] Fix Date-Time Parsing in Token Expiration Calculation for Multiple Formats #873
Copy link
Copy link
Open
Labels
BugSomething isn't working, needs an investigation and a fixSomething isn't working, needs an investigation and a fixP3confidential-clientFor issues related to confidential client appsFor issues related to confidential client appsscenario:ManagedIdentity
Milestone
Description
Library version used
latest
Java version
latest
Scenario
ManagedIdentityClient - managed identity
Is this a new or an existing app?
None
Issue description and reproduction steps
The method responsible for calculating token expiration (expires_on) in MSAL (Managed Identity) is not handling various date-time formats correctly. This leads to errors or incorrect results when processing expiration times in different formats provided by the Managed Identity service.
more info : AzureAD/microsoft-authentication-library-for-dotnet#4963
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugSomething isn't working, needs an investigation and a fixSomething isn't working, needs an investigation and a fixP3confidential-clientFor issues related to confidential client appsFor issues related to confidential client appsscenario:ManagedIdentity