Thank you for your detailed inquiry regarding proxy support in MSAL Android. I've reviewed your GitHub issues (#2297, #2650, and #2661) and this thread, and I can provide answers to your three key questions based on the current state of the MSAL Android library.
Direct Answers to Your Questions
1. Can MSAL Android be updated to respect system-wide proxy settings?
Currently, MSAL Android does not respect system-wide proxy settings. The library's underlying HTTP client doesn't automatically inherit Android's OS-level proxy configurations. This is a limitation when compared to MSAL .NET which does honor system proxy settings. Your GitHub issues have clearly documented this gap.
2. Is there any supported or recommended approach to route MSAL token requests through a local proxy?
Unfortunately, there is no officially supported method for configuring proxy settings in MSAL Android at this time. The library doesn't expose a public API for custom HTTP client configuration or proxy settings. While some developers have experimented with workarounds (like reflection-based approaches), these are unsupported and could break with future library updates. Your technical analysis in the GitHub issues demonstrates the complexity of implementing this without official SDK support.
3. Is there any plan to support proxy configuration in the MSAL Android SDK?
While your GitHub issues remain open and document the technical need well, there's no publicly available timeline for this feature implementation. The issues serve as valuable documentation for the community and Microsoft's engineering teams.
Alternative Approaches to Get Attention
Since your GitHub issues have been comprehensive and well-documented, you might consider these additional channels to highlight this requirement:
Microsoft Enterprise Support
- If your organization has a Microsoft support contract, create a formal support ticket
- Enterprise customers often get more direct engineering attention for feature requests
- Include business impact details and affected user counts
LinkedIn/Twitter Engagement
- Reach out to Microsoft Identity team members on professional networks
- Sometimes direct engagement gets issues noticed more quickly
Current Workaround Documentation
Your detailed technical analysis across the three GitHub issues provides excellent documentation for the community. Consider also:
- Creating a comprehensive blog post or documentation about the limitation
- Sharing your findings in Android development communities
- Contributing to Stack Overflow discussions on this topic
Your thorough documentation of this issue has been valuable for the community, and exploring these additional channels might help get the visibility this legitimate requirement deserves.
Hope this helps!