gradio
gradio copied to clipboard
Auth is broken on Spaces
Is there an existing issue for this?
- [X] I have searched the existing issues
Describe the bug
auth
doesn't seem to be working in 3.0
Reproduction
Check demo\hello_login
Screenshot
No response
Logs
No response
System Info
3.0b5
Severity
blocker
Auth is now working on Gradio 3.0 (thanks @pngwn!).
However, it does not work with Spaces -- so leaving this issue open (albeit renamed).
Still an issue, see: https://huggingface.co/spaces/abidlabs/hello-login
@abidlabs so this auth issue will be fixed in 3.2, right?
We are looking into it! cc @aliabid94
@YuliangXiu, to confirm, you are looking to add a username/password login to a Gradio demo you are hosting on Hugging Spaces? Can you simply make the Space private?
We are looking into it! cc @aliabid94
@YuliangXiu, to confirm, you are looking to add a username/password login to a Gradio demo you are hosting on Hugging Spaces? Can you simply make the Space private?
Once the auth works, just let me know. Then I will uncomment these codes. This is to make sure all the ICON users could approve the required MPI agreements before inference.
Closing thanks to #3049 by @freddyaboulton!
Closing thanks to #3049 by @freddyaboulton!
Hi Abidlabs,
CC: @abidlabs @aliabid94 @YuliangXiu @pngwn @freddyaboulton
Thanks for your fixing. It seems that this issue has been resolved. It can work well in Google Chrome Version 113.0.5672.92 (Official Build) (arm64) on "PC". (Gradio 3.29.0 + Python 3.8.9 + Huggingface Space).
But we have the same failed auth issue on the Mobile Chrome Web browser (Chrome, Safari). Do you have this issue on your Phone Browser?
- Alan M
Hi all - I am still having an auth issue with Gradio hosted on HF Spaces. The login works as expected on Firefox and Chrome on MacOS but fails on MacOS Safari and iOS Safari. The failure results in an empty login box refreshing after each correct login attempt - rendering the space unusable. Happy to provide further documentation or create a demo repo.
Hi all - I am still having an auth issue with Gradio hosted on HF Spaces. The login works as expected on Firefox and Chrome on MacOS but fails on MacOS Safari and iOS Safari. The failure results in an empty login box refreshing after each correct login attempt - rendering the space unusable. Happy to provide further documentation or create a demo repo.
I am also receiving this issue in Chrome and Safari as of April 2024. It happens regularly in Chrome Private Tabs or in Safari.
The space is currently only consistently useable in Firefox, but I can usually use it in chrome browser while logged in and not in private tab.