Getting HF user in a private space

Is it possible to find out who the authenticated HF Hub user is in a Spaces application? I’m using Gradio, if that makes a difference.

Hi there! @Wauplin and the Gradio team recently released OAuth support, which allows users to log in within your Space so you get an idea of who is logged in

1 Like