[x] I have searched to see if a similar issue already exists.
Is your feature request related to a problem? Please describe.
We deployed a Gradio app behind a proxy which requires Kerberos authentication. When accessing the app from the browser, there is no problem, but the trouble begins when using the API with gradio_client. There is currently, AFAIK, no way to forward custom authentication mechanism to httpx such as httpx_kerberos or httpx-negotiate-sspi.
Describe the solution you'd like
I wish the gradio_client.client.Client constructor would accept an authentication mechanism that would be forwarded to httpx calls.
Additional context
I wrote a minimal implementation here : c4622ea05. It works well for our usecases, but I don't know about the edge cases.
Is your feature request related to a problem? Please describe.
We deployed a Gradio app behind a proxy which requires Kerberos authentication. When accessing the app from the browser, there is no problem, but the trouble begins when using the API with
gradio_client
. There is currently, AFAIK, no way to forward custom authentication mechanism tohttpx
such as httpx_kerberos or httpx-negotiate-sspi.Describe the solution you'd like
I wish the
gradio_client.client.Client
constructor would accept an authentication mechanism that would be forwarded tohttpx
calls.Additional context I wrote a minimal implementation here : c4622ea05. It works well for our usecases, but I don't know about the edge cases.
Thanks for your help !