streamlit-server-state
streamlit-server-state copied to clipboard
st.experimental_user deprecated | Email Retrieving after Microsoft SSO Login
Will it be fixed before November 2025?
Until this is resolved, you could downgrade streamlit to streamlit<1.45.0 if you do not have any dependencies on newer streamlit features.
Thank you, in the end I discovererd that streamlit has the st.context variable where you can find the user email:
username = st.context.headers.get("X-Ms-Client-Principal-Name")