gradio icon indicating copy to clipboard operation
gradio copied to clipboard

Can Gradio only allow the same account to log in on one client?

Open coolboyqu opened this issue 8 months ago • 0 comments

By using .launch(auth=fun), a limited number of users can log in to the system, but they can log in simultaneously on multiple clients, affecting each other. Can it be achieved in Gradio that an account can only log in on one client, and when this account logs in on another client, it can be forcibly logged out and returned to the login interface.

I don't know how to log out from the user interface to Auth's login interface now. It seems that logoutbtn cannot be used here?

coolboyqu avatar May 30 '24 08:05 coolboyqu