We use SSO (AD based) to log into Snowflake. How do I connect Streamlit to my Snowflake instance in this situation?
Thanks
We use SSO (AD based) to log into Snowflake. How do I connect Streamlit to my Snowflake instance in this situation?
Thanks
Hi @rwilsker, welcome to the Streamlit community!
Unfortunately, this is a question you’ll have to ask your Snowflake account rep. Streamlit doesn’t become part of Snowflake until the end of March, and we don’t have any Snowflake experts on staff (yet!)
Best,
Randy
Fair enough. Thank you for getting back to me.
Hi. Can we please resurface this question?
My current Snowflake deployment uses Azure AD authentication. Would like to use Streamlit in this environment.,
Thanks.
Hi @WilliamRaper,
Here’s the Snowflake doc page on how to use SSO with client applications, such as Streamlit, to connect to Snowflake:
https://docs.snowflake.com/en/user-guide/admin-security-fed-auth-use.html#using-sso-with-client-applications-that-connect-to-snowflake
Unless you’re using Okta, which allows programmatic SSO, you will go with the Browser-based SSO option. For Paython, you basically need to specify authenticator="externalbrowser"
, as shown in the docs . I hope this helps.
I tried this solution before I posted this question. It did not work. The app never authenticated with Snowflake.
Can we please have someone post an example that was tested?
Bumping as I have the same issue, is there any update to this, I have attempted the authenticator : 'externalbrowser'
solution to no avail in Streamlit. I should not that I have been successful in using this authentication in other python code examples.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.