You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a web application developed with Streamlit, that let people access their Snowflake tables easily.
To do that, users have to log in using AzureADSSO.
Everything works well when the streamlit app is running locally :
User click on a SSO button
A new tab opens to log in using their Azure Account
They can close the tab, and now they are loged in with the app
Yet, when using the app on a virtual machine and/or within a Docker container, the snowflake python connector can't open a new tab, so it logs to the console the URL needed to get a token. Then the user needs to manually write this token in the console:
So locally, even if it's a docker container running, we can still manage to enter the token URL in the console.
But when the app is hosted on a virtual machine / azure container instance, users can't access the console.
What is the desired behavior?
Is there any workaround or possible improvement so that users could enter the token URL differently that through the console ?
How would this improve snowflake-connector-python?
This would allow to use SSO Snowflake connector with web applications.
Thank you very much for your help :)
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Users can't SSO through a containerized web app (e.g. Streamlit)
SNOW-636926: Users can't SSO through a containerized web app (e.g. Streamlit)
Jul 28, 2022
Hello guys !
What is the current behavior?
We have a web application developed with Streamlit, that let people access their Snowflake tables easily.
To do that, users have to log in using AzureADSSO.
Everything works well when the streamlit app is running locally :
Yet, when using the app on a virtual machine and/or within a Docker container, the
snowflake python connector
can't open a new tab, so it logs to the console the URL needed to get a token. Then the user needs to manually write this token in the console:So locally, even if it's a docker container running, we can still manage to enter the token URL in the console.
But when the app is hosted on a virtual machine / azure container instance, users can't access the console.
What is the desired behavior?
Is there any workaround or possible improvement so that users could enter the token URL differently that through the console ?
How would this improve
snowflake-connector-python
?This would allow to use SSO Snowflake connector with web applications.
Thank you very much for your help :)
The text was updated successfully, but these errors were encountered: