OAuth token becomes undecryptable after cloud VM replacement (CLI v0.29.0) — seeking persistent auth guidance
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
Start by locating the CLI authentication and token storage code for v0.29.0; the issue does not name files or tests. Trace how the token is encrypted and loaded across VM replacement, then check existing documentation for supported persistent authorization or token backup guidance. Done means the project provides a documented, reliable approach for this setup or explains that none is supported.
索引モデルが issue の本文から書いたものです。
説明
Setup
- Longbridge CLI v0.29.0 (official)
- OAuth device-code flow, agent name "Muse"
- Running on an ephemeral cloud VM platform: the VM gets replaced frequently (4 replacements on 2026-10-12 alone). The home directory migrates to the new VM, so files persist.
Problem
After every VM replacement, the locally stored token fails to load:
Authentication failed: Failed to decrypt auth token.
The CLI then requires longbridge auth login again. Re-authenticating via the device flow restores full access immediately — no 403s, no rate limiting. The failure happens locally before any network request, which suggests the token is encrypted with a machine-bound key that doesn't survive the VM swap.
Impact
I have to re-authenticate several times a day, which breaks unattended monitoring.
Question
Is there a more persistent authorization mechanism for this kind of setup, or official guidance on backing up / restoring the token so a VM replacement doesn't invalidate it?
(Support at [email protected] directed me to open an issue here.)
- 主要言語
- TypeScript
- スター
- 61
- フォーク
- 30
- 平均マージ
- 7時間 27分
- マージ済み PR(30日)
- 19
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
longbridge/developers のほかの issue
-
最新版的Python 4.3.2 sdk 根本跑不通这个代码啊対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
longbridge/developers#1109 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 1〜2日 初心者へのやさしさ 35/100
longbridge/developers#1310 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
LONGBRIDGE AI模型选择オープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
longbridge/developers#1309 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
longbridge/developers#1308 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
SDK5.2.2: clarify HK candle endpoints, daily trading-date labels and revision/adjustment semanticsオープン
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
longbridge/developers#1302 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
longbridge/developers の issue をすべて見る
似ている issue
-
pending close triaging
難易度 1/5 1〜3時間 初心者へのやさしさ 74/100
anomalyco/opencode#63090 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
ai-driven-qa bug claude Cosmetic
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
ai-driven-qa bug claude Minor
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
linagora/twake-mail-admin#609 ·
メンテナーはふだん 1 日以内に返信