# Demo.launch(auth=("admin", "pass1234"))

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdemo-launch-auth-admin-pass1234%2F30163%3E%5C
**Category:** Spaces\
**Created:** [January 22, 2023, 2:09pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdemo-launch-auth-admin-pass1234%2F30163 "2023-01-22T14:09:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![GAS17](https://avatars.discourse-cdn.com/v4/letter/g/ecae2f/32.png) [@GAS17](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FGAS17)%5C
**Post date:** [January 22, 2023, 2:09pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdemo-launch-auth-admin-pass1234%2F30163%2F1 "2023-01-22T14:09:16Z")

</div>

hello, is it possible to add authentication to gradio in hugginface spaces?  
this is an example that is in the gradio documentation: demo.launch(auth=(“admin”, “pass1234”))

It does not work for me

---

<div class="post-metadata">

**Author:** ![freddyaboulton](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/freddyaboulton/32/32732_2.png) [@freddyaboulton](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Ffreddyaboulton)%5C
**Post date:** [January 22, 2023, 4:09pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdemo-launch-auth-admin-pass1234%2F30163%2F2 "2023-01-22T16:09:56Z")

</div>

Hi @GAS17 !

It’s a known issue with gradio!

We’re working on it.

Thank you
