Skip to content

Conversation

@Avery-Dunn
Copy link
Contributor

@Avery-Dunn Avery-Dunn commented Nov 14, 2025

MSAL Java version of the work done in AzureAD/microsoft-authentication-library-for-dotnet#5558, and this is currently just a first-draft proof of concept to allow easier ad-hoc reviews while we finish the migration.

We are migrating from getting test config from the ID Labs API to a more Key Vault-based approach. This work was recently completed in MSAL .NET, and this PR makes similar changes in Java.

We used used Copilot to translate what was done in .NET and create equivalent behavior in Java. The result was then adjusted to fix syntax errors and config that got lost in translation, and a new labapi2 package was made to contain this new test infrastructure.

labapi2 is a temporary package to keep the new style completely separate so that we solve issues in a more focused way and progressively migrate all the tests.

Currently, two test classes have been converted to demonstrate the new style with both public and confidential clients:

  • ClientCredentialsIT: Fully working, except for a CIAM test was commented out due to not yet having that user query set up
  • UsernamePasswordIT: Fully working in the pipeline, but locally there are unexpected 504/gateway timeout issues in Arlington scenarios

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.

2 participants