Skip to content

[Feature Request]: Add the ability to specify authorization data in addition to the host #289

Description

@PhantomArt

Is your feature request related to a problem? Please describe.

My AUTOMATIC1111 panel is open to the Internet via https and closed by authorization. I want to be able to connect to it from openOutpaint.

Describe the solution you'd like

I've written the details below.

Proposed workflow

The solution is to add an Authorization header to all HTTP requests, something like this:

headers["Authorization"] = "Basic " + btoa(username + ":" + password);

After this, the headers need to be passed to fetch.

I suggest adding optional username and password parameters and placing them in the interface as fields next to the host field.

Describe alternatives you've considered

About a year ago I found all the fetch calls in the code and hardcoded this header there in a hurry, and it worked. I don't remember if I had to change anything else in the code, but I remember that it didn't take long.

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions