How to use `st.experimental_user` out side Streamlit Community Cloud?

My app depends on local database but I want to provide feature depends on current visitor.

How can I use st.experimental_user out side Streamlit Community Cloud?

Hey @johnlyu,

st.experimental_user is implemented as a way to allow developers to access the email address of users who are logged into Streamlit Community Cloud. If you wanted to implement something similar for your app hosted outside of Community Cloud, you wouldn’t need st.experimental_user to do that – instead, you could store the email address of the current user in session state, so that it would persist across reruns of the app.

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