Skip to content

Conversation

@Avery-Dunn
Copy link
Contributor

This PR makes similar changes to what is being done in other MSALs:
AzureAD/microsoft-authentication-library-for-java#1002
AzureAD/microsoft-authentication-library-for-dotnet#5631

Historically, integration tests in MSAL and MISE retrieved user/app/tenant/etc. info from our API at "https://msidlab.com/api/"

That API is being deprecated in favor of a key vault-based system: instead of dynamic config based on query parameters, we have a simpler set of config stored as key vault secrets.

This PR refactors the integration tests to retrieve the config they need from those key vaults instead of the API:

  • config_helpers_test.go : A new file to contain all of the helpers functions, constants, and structs used by the integration tests
  • integration_test.go : Removed helpers that retrieved config from the API, moved remaining helpers to config_helpers_test.go, adjusted tests to use the new helpers
    • The behavior of the tests were not meaningfully changed and should have the same coverage as before

In addition, some tests which were previously broken/skipped (TestConfidentialClientWithSecret and TestOnBehalfOf) are now working again under the new system, which should resolve the unrelated issue #513

@sonarqubecloud
Copy link

@bgavrilMS bgavrilMS requested a review from 4gust January 21, 2026 10:58
@Avery-Dunn Avery-Dunn merged commit 30f0f89 into main Jan 22, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants