Harden cross-platform MSAL broker initialization - #1
Merged
Conversation
Configure MSAL broker loading per operating system and architecture, fail clearly for unsupported runtimes, and add Windows, Linux, and macOS CI coverage. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Replace Mono-dependent NuGet restore with dotnet restore, validate copied managed and native assets, and exercise broker loading in the OS test matrix. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Add WebKitGTK to the Ubuntu test runner so the MSAL native broker runtime can be loaded by the cross-platform smoke test. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Run credentialed integration coverage only through a main-restricted GitHub Environment, keep pull request jobs secret-free, and require complete configuration for integration runs. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Request a GitHub Actions OIDC token and use it as an MSAL client assertion to acquire an Azure Resource Manager token through the protected integration environment. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
jformacek
deployed
to
confidential-client-integration
September 4, 2026 12:15 — with
GitHub Actions
Active
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MSAL broker initialization previously applied Windows-oriented settings across every platform and could silently select or miss incompatible native runtimes. This change makes broker behavior explicit per operating system and architecture while keeping non-broker authentication usable when a broker runtime is unsupported.
Changes
BrokerOptions; use the macOS unsigned-script redirect URI and avoid Windows parent-window handling there.Validation
Full interactive broker authentication still requires an enrolled, interactive desktop and is outside the scope of hosted CI.