-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow uid
to be specified when using authenticator="externalbrowser"
#817
Comments
cc @atheriel |
Yeah this makes perfect sense, we should update the check to allow |
Had a slightly different experience with this today--when connecting, I saw: con <- dbConnect(snowflake(), authenticator = "externalbrowser")
#> Error in `dbConnect()`:
#> ! ODBC failed with error 00000 from [Snowflake][DSI].
#> ✖ (20032) Required setting 'UID' is not present in the connection settings. So I set: con <- dbConnect(snowflake(), authenticator = "externalbrowser", UID = "[email protected]") ...and the connection worked fine. I didn't look at the con <- dbConnect(snowflake(), authenticator = "externalbrowser", uid = "[email protected]")
#> Error in `DBI::dbConnect()`:
#> ! Both `uid` and `pwd` must be specified to authenticate.
#> ℹ Or leave both unset to use ambient Snowflake credentials. So, for now, another workaround is to change the case of All that said, this is worth fixing. :) |
For our Snowflake instance we have external auth set up, but the connection string requires we pass our user name. Currently
odbc::snowflake()
does not allow you to passuid
without also providingpwd
. Not sure if our setup is common, but I would like to be able to pass theuid
whenauthenticator
is specified without requiringpwd
be specified as well.The text was updated successfully, but these errors were encountered: