Msal token expiration. You can read more about configuring token lifetimes here.

Msal token expiration. May 14, 2025 · MSAL maintains a token cache (or two caches for confidential client applications) and caches a token after it's been acquired. This token can be refreshed silently using the refresh token retrieved with this token. Once a refresh token has expired, a new authorization code flow must be initiated to retrieve an authorization code and trade it for a new set of tokens. The only way I have been able to do this is to simply wait 10 minutes between each test. Sure enough it does not refresh the token until 2 minutes after the token has technically expired. I have attempted to obtain a new access token once it expires, but unfortunately, I have been unsuccessful in obtaining a new access token. Other methods such as acquireTokenSilent or event callbacks are recommended to handle it. Aug 13, 2022 · This new refresh token will have a lifetime equal to the remaining lifetime of the original refresh token. May 28, 2023 · After 24 hours, my refresh token expires. . loj9e cor9 atic sp jiy gbyk k8zw lb1zxh ockpsv dfhfs