MSAL client type
Public
Problem Statement
I currently use the delegated auth flow approach by using app.acquire_token_interactive(..), which launches my default browser (Brave browser, in this case) on MacOS.
However, due to my institution's configuration, the authentication flow gets stuck indefinitely on the "Set up your device to get access" page. If I change my default browser to Chrome, it works successfully.
I noticed setting the preferred browser using the environment variable is possible. However, it is only applicable to Linux.
Proposed solution
Is it possible to specify a different browser programmatically without changing the default browser on my Mac?
One way is to remove the Linux platform check to allow other platforms to specify different browser via environment variable, too.
Thank you.