Skip to content

Feat: option to all ALL connections to auth using dedicated electron window.#217

Open
icsy7867 wants to merge 2 commits into
open-webui:mainfrom
icsy7867:trusted-header-sso-desktop
Open

Feat: option to all ALL connections to auth using dedicated electron window.#217
icsy7867 wants to merge 2 commits into
open-webui:mainfrom
icsy7867:trusted-header-sso-desktop

Conversation

@icsy7867
Copy link
Copy Markdown

Description

Users that are using some form of proxy or trusted header authentication are going to have issues with this desktop app as it is not designed to work with proxy authentications.

I am testing adding an option when adding a new open-webui web server to allow for a "Browser Window" type of authentication that will allow one to authenticate and cache a successful cookie in the same electron session that can then be used by the Desktop app.

Node.js is not a strength of mine, so I relied heavily on codex. I am making a PR to track my changes. But I will figure out how to build and I will try to test this out tomorrow.

Related Issues

#175
#138


Contributor License Agreement

Note

Deleting the CLA section will lead to immediate closure of your PR and it will not be merged in.

@icsy7867
Copy link
Copy Markdown
Author

Screenshot 2026-05-25 160218

Per previous issue, I also added in some custom headers. But perhaps this should be ... (If it should even be added in) more of an open form input:

Screenshot 2026-05-25 160315

After running npm dev run

I can confirm that this option allowed me to fully authenticate and use the open-webui desktop app when checking the "Open authentication in a new window". This should theoretically work with any SSO option. The cookie is then saved to the electron user environment.

@icsy7867 icsy7867 changed the title Add trusted header SSO connection auth option to all ALL connections to auth using dedicated electron window. May 26, 2026
@icsy7867 icsy7867 changed the title option to all ALL connections to auth using dedicated electron window. Feat: option to all ALL connections to auth using dedicated electron window. May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant