Skip to content

Conversation

@jahnvi480
Copy link
Contributor

@jahnvi480 jahnvi480 commented Jul 18, 2025

ADO Work Item Reference

AB#38007


Summary

This pull request includes a small change to the process_auth_parameters function in mssql_python/auth.py. The change adjusts how the auth_type is handled for interactive authentication on Windows, ensuring compatibility with native handling of AADInteractive.

Copilot AI review requested due to automatic review settings July 18, 2025 03:55
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 pull request fixes interactive authentication handling on Windows by adjusting how the auth_type is set in the process_auth_parameters function. The change ensures that interactive authentication is properly configured before checking the platform, allowing Windows to handle AADInteractive natively.

  • Moves the auth_type = "interactive" assignment to occur before the Windows platform check
  • Sets auth_type = None on Windows to allow native AADInteractive handling instead of skipping parameter addition
Comments suppressed due to low confidence (1)

@github-actions github-actions bot added pr-size: small Minimal code update and removed pr-size: small Minimal code update labels Jul 18, 2025
@github-actions github-actions bot added pr-size: small Minimal code update and removed pr-size: small Minimal code update labels Jul 18, 2025
@jahnvi480 jahnvi480 merged commit 4bf2a4e into main Jul 18, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-size: small Minimal code update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants