microsoft / microsoft/azure-tools-for-java

[IntelliJ][ReportedByUser] Uncaught Exception [Correlation ID: f1c7ee78-e1dd-4835-85d5-c7322e131103] Execution of class com.microsoft.aad.msal4j.AcquireTokenSilentSupplier failed. com.microsoft.aad.msal4j.MsalInteractionRequiredException: AADSTS700082: The refresh token has expired due to inactivity. The token was issued on 2023-11-16T10:07:44.1538277Z and was inactive for 90.00:00:00. Trace ID: fd4ff493-e252-4aad-88c3-112e159a7c00 Correlation ID: f1c7ee78-e1dd-4835-85d5-c7322e131103 Timestamp: 2024-03-21

Open
#8,280 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
262
Forks
185
Avg merge
2d 21h
Merged PRs (30d)
1

Description

IntelliJ build version: 2021.3.2 IU-213.6777.52
OS: Windows 10
JDK: JetBrains s.r.o. 11.0.13
Plugin version: 3.83.0-2021.3
Additional Info: None
Parent component:

com.intellij.openapi.wm.impl.IdeRootPane[,8,8,1921x1040,layout=com.intellij.openapi.wm.impl.IdeRootPane$MyRootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=449,maximumSize=,minimumSize=,preferredSize=]

Error message:

<REDACTED: Generic Secret>
	at com.microsoft.aad.msal4j.MsalServiceExceptionFactory.fromHttpResponse(MsalServiceExceptionFactory.java:39)
	at com.microsoft.aad.msal4j.TokenRequestExecutor.createAuthenticationResultFromOauthHttpResponse(TokenRequestExecutor.java:161)
	at com.microsoft.aad.msal4j.TokenRequestExecutor.executeTokenRequest(TokenRequestExecutor.java:40)
	at com.microsoft.aad.msal4j.AbstractClientApplicationBase.acquireTokenCommon(AbstractClientApplicationBase.java:256)
	at com.micro

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the stack trace entries for com.microsoft.aad.msal4j.AcquireTokenSilentSupplier, TokenRequestExecutor, and AbstractClientApplicationBase, using the IntelliJ plugin version 3.83.0-2021.3 and the reported Windows environment as context. Reproduce or trace the expired refresh-token path and verify that the authentication failure no longer appears as an uncaught exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, java
Domain
authentication, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.