[Bug] Msal Uses Common Fork Join Thread Pool as Default Thread Pool to execute Auth requests. #812
Labels
Enhancement
A request or suggestion to improve some aspect of the library
P2
Normal priority items, should be done after P1
Library version used
1.15.0
Java version
Java 11
Scenario
PublicClient (AcquireTokenInteractive, AcquireTokenByUsernamePassword)
Is this a new or an existing app?
None
Issue description and reproduction steps
The Issue is that Msal Uses Default Common Fork Join Pool Thread Pool to execute auth requests, which results in deadlocks when high parallelism is used in customer apps.
This issue can be resolved by below approach:
getThreadPoolWithShutdownHook
method:Reference Issue by Az Identity customer: Azure/azure-sdk-for-java#39676
Relevant code snippets
No response
Expected behavior
No response
Identity provider
Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)
Regression
No response
Solution and workarounds
No response
The text was updated successfully, but these errors were encountered: