Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oauth flow not working locally #8660

Open
1 task done
abidlabs opened this issue Jun 28, 2024 · 0 comments
Open
1 task done

Oauth flow not working locally #8660

abidlabs opened this issue Jun 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@abidlabs
Copy link
Member

abidlabs commented Jun 28, 2024

Describe the bug

When Gradio Oauth is running locally, we see this message:

Gradio does not support OAuth features outside of a Space environment. To help you debug your app locally, the login and logout buttons are mocked with your profile. To make it work, your machine must be logged in to Huggingface.

But this behavior is not happening. If you click on the Login button, nothing seems to happen

cc @Wauplin for visibility

Have you searched existing issues? 🔎

  • I have searched and found no existing issues

Reproduction

import gradio as gr

with gr.Blocks() as demo:
    login_button = gr.LoginButton()
    
demo.launch()

Screenshot

No response

Logs

No response

System Info

gradio==3.47.2

Severity

I can work around it

@abidlabs abidlabs added the bug Something isn't working label Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant