microsoft-authentication-library-for-python icon indicating copy to clipboard operation
microsoft-authentication-library-for-python copied to clipboard

Update default cache lookup logic in ConfidentialClientApplication

Open sangonzal opened this issue 5 years ago • 1 comments

  • Client credential flow should by default look in the cache and try to use the cached access token. Internal design document
  • On-behalf-of flow should by default look in the cache and try to use the cached access token. Internal design document

sangonzal avatar Oct 20 '20 18:10 sangonzal

@rayluo is this still relevant? I'm implementing OBO and wonder whether there are any gotchas or limitations in the current MSAL I should consider.

chlowell avatar Jul 27 '21 22:07 chlowell

For a different reason, and as a byproduct of #577, the first topic "client credential flow" is now changed to automatically look up tokens from cache.

The OBO flow remains unchanged, for now. The current calling pattern still utilize acquire_token_silent(). Such a calling pattern is useful in long-lived OBO apps.

rayluo avatar Jul 22 '23 00:07 rayluo