[0.1.16] [macOS] Load-balancer affinity cookie disables browser sign-in
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 42/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- electron, typescript
調査の方向性
The sign-in decision lives in signInWithBrowser in src/main/sessions.ts, which checks accessHeaders(...).Cookie and returns false on any cookie for the WebUI. Read that function and how the connection's session cookies are gathered, then reproduce by serving a fake /api/config that sets an affinity cookie. Done when the browser flow runs for a reachable WebUI with only affinity cookies, while known access-proxy cookies such as CF_Authorization still fall back to in-app sign-in.
索引モデルが issue の本文から書いたものです。
説明
Version
0.1.16
Platform
macOS
Description
Behind a load balancer that sets a session-affinity cookie, Tether never uses browser sign-in.
signInWithBrowser returns false as soon as the connection's session holds any cookie for the WebUI (accessHeaders(...).Cookie in src/main/sessions.ts), treating it as an access-proxy cookie. Affinity cookies (Gateway API sessionPersistence, AWS ALB, nginx ingress affinity: cookie, Traefik sticky sessions) are set on the first page load, so Tether always falls back to in-app sign-in, even though the server supports auth sessions and /api/config works without the cookie.
Expected: browser sign-in (PKCE + loopback) whenever the WebUI is reachable without cookies.
Suggestion: fall back only when the cookies are needed, e.g. probe api/config without cookies and use browser sign-in if it succeeds, or only treat known access-proxy cookies (such as CF_Authorization) that way.
Steps to reproduce
- Put Open WebUI 0.13.x with OIDC sign-in behind a gateway that sets an affinity cookie (
Path=/) on every response. - Add the connection in Tether and click the OIDC provider button.
- Sign-in opens inside the app instead of the system browser.
Additional context
Open WebUI 0.13.3, OIDC only (password login disabled); /api/config reports features.auth_sessions: true and the provider. In-app sign-in works; only the browser flow is skipped. Removing the affinity cookie isn't a good option for us: the relay WebSocket carries it too, which keeps relay traffic on the same replica as the user's requests.
- 主要言語
- TypeScript
- スター
- 199
- フォーク
- 10
- 平均マージ
- 1分
- マージ済み PR(30日)
- 15
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
open-webui/tether のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
open-webui/tether#57 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
open-webui/tether#52 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 70/100
open-webui/tether#72 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
open-webui/tether#71 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 56/100
open-webui/tether#69 ·
メンテナーはふだん 1 日以内に返信
open-webui/tether の issue をすべて見る
似ている issue
-
enhancement feature/signals self-driving team/self-driving
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
PostHog/posthog#144208 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug good first issue web
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
triage: not actionable
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
oxc-project/oxc#30518 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug Claude useability
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
wazuh/wazuh-dashboard-plugins#9751 ·
メンテナーはふだん 1 日以内に返信