Skip to content

Conversation

@DecSmith42
Copy link
Owner

Added AzureVaultAuthPort parameter to allow configuring the port used for local authentication redirect during Azure Key Vault authentication. Defaults to 3421, with an option to use a random port by setting it to 0.

Updated InteractiveBrowserCredential setup to respect the configured redirect port. Fixed branch type regex in GitVersion.yml.

Added `AzureVaultAuthPort` parameter to allow configuring the port used for local authentication redirect during Azure Key Vault authentication. Defaults to 3421, with an option to use a random port by setting it to 0.

Updated `InteractiveBrowserCredential` setup to respect the configured redirect port. Fixed branch type regex in `GitVersion.yml`.
Copilot AI review requested due to automatic review settings December 11, 2025 05:42
@DecSmith42 DecSmith42 enabled auto-merge December 11, 2025 05:42
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for configurable authentication redirect ports in Azure Key Vault integration and fixes a regex pattern in GitVersion configuration. The new AzureVaultAuthPort parameter allows users to specify the local port used during interactive browser authentication, with a default of 3421 and support for random port selection when set to 0.

Key changes:

  • Added AzureVaultAuthPort parameter with default value 3421 and support for random port (value 0)
  • Updated InteractiveBrowserCredential initialization to use the configured port for redirect URI
  • Fixed GitVersion.yml branch type regex to make BranchType mandatory instead of optional

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
GitVersion.yml Fixed branch type regex to make BranchType capture group mandatory
DecSm.Atom.Module.AzureKeyVault/IAzureKeyVault.cs Added AzureVaultAuthPort parameter definition with documentation
DecSm.Atom.Module.AzureKeyVault/AzureKeySecretsProvider.cs Implemented port retrieval logic and configured InteractiveBrowserCredential RedirectUri

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

DecSmith42 and others added 2 commits December 11, 2025 15:49
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@DecSmith42 DecSmith42 merged commit 30d5e83 into main Dec 11, 2025
28 of 29 checks passed
@DecSmith42 DecSmith42 deleted the improvement/msal-port-option branch December 11, 2025 06:06
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.

1 participant