Google Auth: Get authenticated user info in streamlit sharing app

Hi all,

My goal is to have an app that renders conditionally based on who is accessing it.

I’m currently hosting this app in Streamlit Sharing, which uses google auth to control access. How can my app fetch who is logged in? Name/email/etc.

Thanks!

Hey @perspicus,

Have you checked out the st.experimental_user feature?

1 Like

This was exactly what I needed! Thanks so much :slight_smile:

1 Like

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