How can I get user information when using Streamlit Cloud viewer auth?

I want to share an app with customers and protect it using viewer authentication. However, the data that I need to display to each user is different. If I use viewer auth (either by using Google Auth or custom OAuth), how can I get the current user’s e-mail address in my script?

2 Likes