Skip to content
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

Support for MFA pascode #425

Closed
skarpecki opened this issue Mar 10, 2022 · 2 comments
Closed

Support for MFA pascode #425

skarpecki opened this issue Mar 10, 2022 · 2 comments
Assignees
Labels
feature status-triage Issue is under initial triage

Comments

@skarpecki
Copy link

skarpecki commented Mar 10, 2022

Issue description

Connecting to Snowflake with MFA triggers Duo Push which has to be accepted in application. It's inconvienet if there are multiple connections established, as for each one of them we need to accept connection in app. Is it possible to somehow pass the passcode to .NET connection?

Example code

We tried both PasscodeInPassword and Passcode properties as described for ODBC (https://docs.snowflake.com/en/user-guide/security-mfa.html#using-mfa-with-odbc), none of them worked.

var builder = new SnowflakeDbConnectionStringBuilder();
...
...
...
builder["passcodeInPassword"] = "on";
var builder = new SnowflakeDbConnectionStringBuilder();
...
...
...
builder["passcode"] = passcode;

Error log

N/A

Configuration

Driver version: 1.2.2

Dotnet framework and version: .net framework 4.8

Server version: E.g. 1.90.1

Client OS: Windows 10

@sfc-gh-jfan sfc-gh-jfan reopened this Jul 1, 2022
@github-actions github-actions bot closed this as completed Jul 2, 2022
@sfc-gh-jfan sfc-gh-jfan reopened this Jul 6, 2022
@skarpecki
Copy link
Author

Hello, is there any update regarding the issue?

@sfc-gh-dszmolka sfc-gh-dszmolka self-assigned this Jun 7, 2023
@sfc-gh-dszmolka sfc-gh-dszmolka added the status-triage Issue is under initial triage label Jun 7, 2023
@sfc-gh-dszmolka
Copy link
Contributor

hi and thank you for raising this request. apologies for the long period without response. we'll track this request together with the SSO caching on #380

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature status-triage Issue is under initial triage
Projects
None yet
Development

No branches or pull requests

4 participants