com.microsoft.aad.adal.AuthenticationException: Status code:302

GitHub | imakhalova | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    acquire token doesn't follow 302 (Temprorary moved) redirects

    GitHub | 7 months ago | imakhalova
    com.microsoft.aad.adal.AuthenticationException: Status code:302

    Root Cause Analysis

    1. com.microsoft.aad.adal.AuthenticationException

      Status code:302

      at com.microsoft.aad.adal.Oauth2.postMessage()
    2. com.microsoft.aad
      AcquireTokenSilentHandler.acquireTokenWithCachedItem
      1. com.microsoft.aad.adal.Oauth2.postMessage(Oauth2.java:465)
      2. com.microsoft.aad.adal.Oauth2.refreshToken(Oauth2.java:314)
      3. com.microsoft.aad.adal.AcquireTokenSilentHandler.acquireTokenWithRefreshToken(AcquireTokenSilentHandler.java:126)
      4. com.microsoft.aad.adal.AcquireTokenSilentHandler.acquireTokenWithCachedItem(AcquireTokenSilentHandler.java:269)
      4 frames