-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop using invalid
password
authenticator (#61)
The purpose of this PR is to fix a bug in the authentication behaviour, introduced in this [PR](#58). While the feature referenced above worked successfully for cases when the `authenticator=externalbrowser` it was not working in cases where an authentication with user and password was intended, as the value `password` is invalid for the `authenticator` parameter of `snowflake-connector-python`. As the authentication with user/password is the default authentication behaviour of the snowflake connector, the implementation was changed for `DatabaseConfiguration.authenticator` to accept either `externalbrowser` or default to the `DEFAULT_AUTHENTICATOR` from `snowflake-connector`, the latter triggering a successful authentication using user and password
- Loading branch information
Showing
3 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters