Add user login in my Streamlit app

Good day everyone,
I want to add user login (HF login or google login) in my Streamlit app, how to add it?
Can you provide me with ocde?

1 Like

If you use Gradio or huggingface.js, it’s easy, but for other cases, I think you’ll need to implement the following parts manually.

Thank you for your response.
I tried adding user authentication, but it didn’t work. My app is built with Streamlit using Python.
Can I use Google authentication?

1 Like

If it’s not Gradio, it seems quite difficult, but I wonder if an external service could be used…

Thank you.

1 Like