-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Upgrade snowflake-connector-python version to support the token cache #2613
Comments
I was getting sufficiently annoyed by the multiple popups and was able to test this out recently. Here are the steps I took:
I'm working on verifying whether I'm allowed to sign the CLA before sending a PR (the change is very simple). |
Ooh, thanks for linking to the source @ryano144, now I see there seems to be an alternative mechanism for Linux, I'll have to have a play with that |
Hello there! I played a bit with the SSO caching on Linux today. I set up an environment as @ryano144 did, and on Linux the token will not be cached without editing the default configuration in As the comment says "Mac/Win will overlook this" but Linux will not. Therefore on Linux at the moment I had to change the default configuration to return Once I made this change however, I could benefit from the caching of my SSO token. |
Hello everyone. I've updated to the latest version and still see this issue. Any pointers on how to resolve? |
@don-at-omaze Which version of dbt are you using? Have you installed |
Describe the feature
Upgrade snowflake-connector-python to >= v2.2.3 to support the Snowflake OAuth token cache. The only docs we could find on this were from the odbc connector, but the snowflake-connector-python says that... something... changed around a "Secure SSO ID Token" in v2.2.3 and the diff appears to be relevant to some sort of token cache.
We should:
snowflake-connector-python
that dbt supportsAdditional context
The token cache makes web-based oauth usable in dbt. Without the cache, each new connection (ie. thread) opened by dbt requires the user to login via a browser, rendering browser-based oauth basically useless in a multithreaded dbt run.
Who will this benefit?
Snowflake users using the oauth connection method
The text was updated successfully, but these errors were encountered: