Closed sadasant closed 3 years ago
Based on previous experiences, I believe this is likely an issue with adal
. Since adal
is not taking any more changes, and since we’re moving to deprecate this package soon on favor of https://www.npmjs.com/package/@azure/identity, at this time we’ve decided to close this issue.
Using the following snippet:
We can see that the second call to
interactiveLoginWithAuthResponse
will throw the error:Error: Entry not found in cache.
Other login methods, like
loginWithUsernamePasswordWithAuthResponse
, do not have this issue. For example, the following code will authenticate both times (and the second time it will do so using the cache, as it can be verified by debugging):interactiveLoginWithAuthResponse
should be able to authenticate silently after a first successful interactive authentication.