Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Error - Azure Identity => ERROR in getToken() call for scopes [.default] #25109

Closed
kunaldeshkar opened this issue Oct 29, 2021 · 2 comments
Assignees
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. needs-author-feedback Workflow: More information is needed from author to address the issue. no-recent-activity There has been no recent activity on this issue. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@kunaldeshkar
Copy link

2021-10-29 15:53:09.643�[0;39m ERROR com.azure.identity.OnBehalfOfCredential Azure Identity => ERROR in getToken() call for scopes [.default]: AADSTS50013: Assertion failed signature validation. [Reason - The provided signature value did not match the expected signature value., Thumbprint of key used by client: '977B10FB9D1C087E3105564B1D31B09D247BEBCD', Found key 'Start=02/07/2021 17:00:39, End=02/06/2026 17:00:39'].
Trace ID: 62d60ed5-56c3-45a0-b960-93d4ec917d00
Correlation ID: 23f6c5a9-1ff9-4e6a-9dc8-b8b5fa539613
Timestamp: 2021-10-29 10:23:09Z
�[2m2021-10-29 15:53:09.645�[0;39m �[31mERROR�[0;39m �[35m20324�[0;39m �[2m---�[0;39m �[2m[nio-8081-exec-4]�[0;39m �[36mo.a.c.c.C.[.[.[/].[dispatcherServlet] �[0;39m �[2m:�[0;39m Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is com.microsoft.graph.core.ClientException: Error executing the request] with root cause

com.microsoft.aad.msal4j.MsalInteractionRequiredException: AADSTS50013: Assertion failed signature validation. [Reason - The provided signature value did not match the expected signature value., Thumbprint of key used by client: '977B10FB9D1C087E3105564B1D31B09D247BEBCD', Found key 'Start=02/07/2021 17:00:39, End=02/06/2026 17:00:39'].
Trace ID: 62d60ed5-56c3-45a0-b960-93d4ec917d00
Correlation ID: 23f6c5a9-1ff9-4e6a-9dc8-b8b5fa539613
Timestamp: 2021-10-29 10:23:09Z
at com.microsoft.aad.msal4j.MsalServiceExceptionFactory.fromHttpResponse(MsalServiceExceptionFactory.java:39) ~[msal4j-1.11.0.jar:1.11.0]
at com.microsoft.aad.msal4j.TokenRequestExecutor.createAuthenticationResultFromOauthHttpResponse(TokenRequestExecutor.java:96) ~[msal4j-1.11.0.jar:1.11.0]
at com.microsoft.aad.msal4j.TokenRequestExecutor.executeTokenRequest(TokenRequestExecutor.java:37) ~[msal4j-1.11.0.jar:1.11.0]
at com.microsoft.aad.msal4j.AbstractClientApplicationBase.acquireTokenCommon(AbstractClientApplicationBase.java:128) ~[msal4j-1.11.0.jar:1.11.0]
at com.microsoft.aad.msal4j.AcquireTokenByAuthorizationGrantSupplier.execute(AcquireTokenByAuthorizationGrantSupplier.java:63) ~[msal4j-1.11.0.jar:1.11.0]
at com.microsoft.aad.msal4j.AcquireTokenByOnBehalfOfSupplier.acquireTokenOnBehalfOf(AcquireTokenByOnBehalfOfSupplier.java:63) ~[msal4j-1.11.0.jar:1.11.0]
at com.microsoft.aad.msal4j.AcquireTokenByOnBehalfOfSupplier.execute(AcquireTokenByOnBehalfOfSupplier.java:49) ~[msal4j-1.11.0.jar:1.11.0]
at com.microsoft.aad.msal4j.AuthenticationResultSupplier.get(AuthenticationResultSupplier.java:69) ~[msal4j-1.11.0.jar:1.11.0]
at com.microsoft.aad.msal4j.AuthenticationResultSupplier.get(AuthenticationResultSupplier.java:18) ~[msal4j-1.11.0.jar:1.11.0]
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700) ~[na:na]
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1692) ~[na:na]
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) ~[na:na]
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) ~[na:na]
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) ~[na:na]
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) ~[na:na]
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183) ~[na:na]

@ghost ghost added needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Oct 29, 2021
@joshfree joshfree added Azure.Identity Client This issue points to a problem in the data-plane of the library. labels Oct 29, 2021
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Oct 29, 2021
@joshfree joshfree added the needs-author-feedback Workflow: More information is needed from author to address the issue. label Oct 29, 2021
@joshfree
Copy link
Member

Hi @kunaldeshkar can you please provide more details (you can see the bug template here: https://github.com/Azure/azure-sdk-for-java/blob/main/.github/ISSUE_TEMPLATE/bug_report.md) so that we're able to assist you?

@ghost ghost added the no-recent-activity There has been no recent activity on this issue. label Nov 5, 2021
@ghost
Copy link

ghost commented Nov 5, 2021

Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!

@ghost ghost closed this as completed Nov 21, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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. needs-author-feedback Workflow: More information is needed from author to address the issue. no-recent-activity There has been no recent activity on this issue. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

3 participants