AzureAD / microsoft-authentication-library-for-js

Microsoft Authentication Library (MSAL) for JS

Home Page:http://aka.ms/aadv2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ManagedIdentityTokenResponse's expires_in is not calculated correctly

Robbie-Microsoft opened this issue · comments

Core Library

MSAL Node (@azure/msal-node)

Core Library Version

2.7.0

Wrapper Library

Not Applicable

Wrapper Library Version

None

Public or Confidential Client?

Confidential

Description

ManagedIdentityTokenResponse's expires_in is not calculated correctly. It does not match the .NET implementation.

The Azure Identity SDK team noticed that expires_in was incorrectly calculated while adopting msal-node's Managed Identity implementation.

Error Message

No response

MSAL Logs

No response

Network Trace (Preferrably Fiddler)

  • Sent
  • Pending

MSAL Configuration

N/A

Relevant Code Snippets

N/A

Reproduction Steps

N/A

Expected Behavior

N/A

Identity Provider

Entra ID (formerly Azure AD) / MSA

Browsers Affected (Select all that apply)

None (Server)

Regression

No response

Source

Internal (Microsoft)