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

Prompt for credentials on every execution using OAth #16

Open
jklosinski opened this issue Aug 17, 2022 · 3 comments
Open

Prompt for credentials on every execution using OAth #16

jklosinski opened this issue Aug 17, 2022 · 3 comments

Comments

@jklosinski
Copy link

I am connected to my org using OAuth type, MFA is enabled. Every time I execute a query, even one right after the other, I need to go through the login process including MFA. The driver doesn't seem to be storing the token in the cache. Any thoughts?

@jklosinski
Copy link
Author

Just realized the issue: I had Fiddler open. Closing Fiddler and rerunning now seems to be successfully storing the token.

@jklosinski
Copy link
Author

I spoke too soon. With Fiddler closed, I am not prompted as often, but it still prompts me a lot.

@rajyraman
Copy link
Owner

@polshgiant - I am not using OAuth these days as I use the same account in both Azure and Power Apps. So, the Azure method works for me as I have Azure CLI installed locally as well. Are you using Microsoft App Id 51f81489-12ee-4a9e-aaae-a2591f45987d. It should prompt you only twice: once while refreshing the data set and once while running the query (only once per session).

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants