I'm building Azure AD authentication into my Android Application, using MSAL 3.x, however it is throwing errors when attempting to Acquire Token with User Interaction. The documentation for MSAL 3.x suggests that the parent activity or window is needed, however using Unity I'm pretty lost with this. Any help here would be much appreciated.
I have tried a variety of input suggestions from the main documentation, but none of them seems to fit for Unity. The documentation can be found at: https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/wiki/Acquiring-tokens-interactively
authResult = await app.AcquireTokenInteractive(scopes).ExecuteAsync();
authResult = await app.AcquireTokenInteractive(scopes).WithParentActivityOrWindow("need something here").ExecuteAsync();