Streamlit Cloud - Snowflake SSO Integration

Hi Team,

When I tried implementing a snowflake SSO authentication in streamlit using the attached script , it works fine as expected in my local system Whereas it was not working when I host the app in Streamlit cloud.

Is there any alternative ways to achieve this snowflake SSO (authentication=Externalbrowser) in Streamlit cloud?