MsalExceptionAdapter.java line 64
See original GitHub issueDescribe the bug Hi,
we’re getting crashes from this error within MSAL. I remember we had to deal with something similar handling the token expired error a while ago by calling the interactive acquire token. But as this one is within the library itself, it’s out of our reach.
Smartphone (please complete the following information):
- Device: Moto Z (2) Play
- Android Version: 8
- MSAL Version: 1.5.4
Stacktrace
Fatal Exception: com.microsoft.identity.client.exception.MsalUiRequiredException: AADB2C90080: The provided grant has expired. Please re-authenticate and try again. Current time: 1604921912, Grant issued time: 1604684246, Grant expiration time: 1604770646
Correlation ID: *******-*******-*******-*******-*******
Timestamp: 2020-11-09 11:38:32Z
at com.microsoft.identity.client.internal.controllers.MsalExceptionAdapter.msalExceptionFromBaseException(MsalExceptionAdapter.java:64)
at com.microsoft.identity.client.PublicClientApplication$16.onError(PublicClientApplication.java:1673)
at com.microsoft.identity.client.PublicClientApplication$16.onError(PublicClientApplication.java:1664)
at com.microsoft.identity.common.internal.controllers.CommandDispatcher$3.run(CommandDispatcher.java:209)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6592)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:769)
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
MsalExceptionAdapter Class - Microsoft Learn
In this article · java.lang.Object · com.microsoft.identity.client.internal.controllers.MsalExceptionAdapter.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
maybe it was a false positive from our crashlytics platform such as https://github.com/AzureAD/microsoft-authentication-library-for-android/issues/1200. We’ll watch it closely to see if the error show up again.
@iambmelt I see. So the log actually just indicates that a backend service is failing.