Skip to content

Commit

Permalink
Testing OIDC
Browse files Browse the repository at this point in the history
  • Loading branch information
prdpsvs committed Nov 26, 2024
1 parent 61eb419 commit 4e738e6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dbt/adapters/fabric/fabric_connection_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,10 @@ def open(cls, connection: Connection) -> Connection:

assert credentials.authentication is not None

if "ActiveDirectory" in credentials.authentication:
if (
"ActiveDirectory" in credentials.authentication
and credentials.authentication != "ActiveDirectoryAccessToken"
):
con_str.append(f"Authentication={credentials.authentication}")

if credentials.authentication == "ActiveDirectoryPassword":
Expand Down

0 comments on commit 4e738e6

Please sign in to comment.