OAuth token becomes undecryptable after cloud VM replacement (CLI v0.29.0) — seeking persistent auth guidance
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- authentication
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.)
- Ngôn ngữ chính
- TypeScript
- Star
- 61
- Fork
- 30
- Merge trung bình
- 7 giờ 27 phút
- Pull request đã merge (30 ngày)
- 19
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của longbridge/developers
-
最新版的Python 4.3.2 sdk 根本跑不通这个代码啊Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
longbridge/developers#1109 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 35/100
longbridge/developers#1310 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
LONGBRIDGE AI模型选择Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
longbridge/developers#1309 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
longbridge/developers#1308 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
SDK5.2.2: clarify HK candle endpoints, daily trading-date labels and revision/adjustment semanticsĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
longbridge/developers#1302 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của longbridge/developers
Issue tương tự
-
[Bug]: t3 connect status reports "Exposure: enabled" for publish-only links without a tunnelĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
awslabs/visual-asset-management-system#1278 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
mifi/lossless-cut#3213 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 83/100
plasma-umass/scalene#1123 ·
Maintainer thường phản hồi trong vòng 1 ngày