Sharashchandra commented on code in PR #47073:
URL: https://github.com/apache/airflow/pull/47073#discussion_r1970323304


##########
providers/snowflake/src/airflow/providers/snowflake/hooks/snowflake.py:
##########
@@ -289,8 +315,12 @@ def _get_conn_params(self) -> dict[str, str | None]:
             conn_config["client_id"] = conn.login
             conn_config["client_secret"] = conn.password
             conn_config.pop("login", None)
+            conn_config.pop("user", None)
             conn_config.pop("password", None)
 
+            access_token = self.get_oauth_token(conn_config=conn_config)
+            conn_config["token"] = access_token

Review Comment:
   Made this change and pushed.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to