Setting up google SSO on docker solution of streamlit App

Hi,

I have created a docker images for streamlit app following this link and I have deployed the streamlit app in our ECS container environment for testing. Streamlit app is working fine but I want to secure the app using google auth (SSO).

I have followed this link. I have created GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET & I have REDIRECT_URI pointing to our load balancer url. I stopped after see this. DO NOT USE!!! Try st.session_state instead.

I am not sure how to proceed with st.session_state for google auth SSO. Unable to find the right document to do it. Can anyone help me with this ? any steps will be much appreciated. Let me know if you need more info.

Manoj

Hey @Manoj_P_N,

Your GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, and REDIRECT_URI should be stored in secrets rather than session state. Check out our doc on secrets management here.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.