[PR #217] Feat: option to all ALL connections to auth using dedicated electron window. #229

Open
opened 2026-10-18 14:07:09 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/desktop/pull/217
Author: @icsy7867
Created: 5/25/2026
Status: 🔄 Open

Base: main ← Head: trusted-header-sso-desktop


📝 Commits (2)

  • 3686424 Add trusted header SSO connection auth
  • 1590762 Decouple browser auth from custom headers

📊 Changes

6 files changed (+846 additions, -267 deletions)

View changed files

📝 src/main/index.ts (+335 -151)
📝 src/main/utils/index.ts (+39 -20)
📝 src/preload/index.ts (+5 -2)
📝 src/renderer/src/lib/components/Main/Connections.svelte (+178 -37)
📝 src/renderer/src/lib/components/Main/Connections/AddConnectionModal.svelte (+111 -2)
📝 src/renderer/src/lib/components/Main/Connections/Content.svelte (+178 -55)

📄 Description

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.

https://github.com/open-webui/desktop/issues/175
https://github.com/open-webui/desktop/issues/138


Contributor License Agreement

Note

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


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/desktop/pull/217 **Author:** [@icsy7867](https://github.com/icsy7867) **Created:** 5/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `trusted-header-sso-desktop` --- ### 📝 Commits (2) - [`3686424`](https://github.com/open-webui/desktop/commit/368642433a43a069093feae69054e6c2579c7e8b) Add trusted header SSO connection auth - [`1590762`](https://github.com/open-webui/desktop/commit/159076294b30968843ce7950761ad14805c7e054) Decouple browser auth from custom headers ### 📊 Changes **6 files changed** (+846 additions, -267 deletions) <details> <summary>View changed files</summary> 📝 `src/main/index.ts` (+335 -151) 📝 `src/main/utils/index.ts` (+39 -20) 📝 `src/preload/index.ts` (+5 -2) 📝 `src/renderer/src/lib/components/Main/Connections.svelte` (+178 -37) 📝 `src/renderer/src/lib/components/Main/Connections/AddConnectionModal.svelte` (+111 -2) 📝 `src/renderer/src/lib/components/Main/Connections/Content.svelte` (+178 -55) </details> ### 📄 Description ## 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 https://github.com/open-webui/desktop/issues/175 https://github.com/open-webui/desktop/issues/138 --- ## Contributor License Agreement <!-- 🚨 DO NOT DELETE THE TEXT BELOW 🚨 Keep the "Contributor License Agreement" confirmation text intact. Deleting it will trigger the CLA-Bot to INVALIDATE your PR. Your PR will NOT be reviewed or merged until you check the box below confirming that you have read and agree to the terms of the CLA. --> - [x] By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](https://github.com/open-webui/desktop/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. > [!NOTE] > Deleting the CLA section will lead to immediate closure of your PR and it will not be merged in. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
open-webui/desktop#229
No description provided.