We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7eaeebb commit d8b5bfdCopy full SHA for d8b5bfd
mssql_python/auth.py
@@ -124,6 +124,8 @@ def get_auth_token(auth_type: str) -> Optional[bytes]:
124
return AADAuth.get_default_token()
125
elif auth_type == "devicecode":
126
return AADAuth.get_device_code_token()
127
+ # If interactive authentication is requested, use InteractiveBrowserCredential
128
+ # but only if not on Windows, since in Windows: AADInteractive is supported.
129
elif auth_type == "interactive" and platform.system().lower() != "windows":
130
return AADAuth.get_interactive_token()
131
return None
0 commit comments