AzureAD / microsoft-authentication-library-common-for-android

Common code used by both the Active Directory Authentication Library (ADAL) and the Microsoft Authentication Library (MSAL)
MIT License
41 stars 35 forks source link

Fix mAuthorizationStrategy is null in LocalMsalController #2370

Closed rpdome closed 6 months ago

rpdome commented 6 months ago

onFinishAuthorizationSession depends on an internal state of the controller, which is set as part of acquireToken()

therefore, we should be using the same controller object throughout the flow (not generating the new one from the factory).