Skip to content
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.

TokenCache before/after access notifications need to be within the cachelock boundary #1571

Closed
MarkZuber opened this issue Apr 3, 2019 · 0 comments
Assignees
Milestone

Comments

@MarkZuber
Copy link
Contributor

Which Version of ADAL are you using ?
ADAL 5.0.1-preview

TokenCache access before/after notifications need to be within the _cacheLock lock in order for contract with the extensions file cache locking story to work. Attached is screen shot of deadlock in VS. Currently the before/after notifications are fired individually within the locks at the AcquireTokenHandlerBase level and encompass possibly more than one access to the cache.

adalthreadlock

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant