Implement device login for `ovsx`
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 22/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- java, node.js, typescript
- 领域
- api, authentication, backend, cli
调研方向
Read RFC 8628 and the requested ovsx login flow: CLI shows a user-code link, polls with client id/key and device code, then stores a scoped token in the system keychain. Trace existing CLI auth/login and token storage, plus the Java backend and web UI authorization paths that must issue and complete the device grant. Done means publishers can authorize the CLI from the browser and the CLI receives and persists a working token without inventing extra scope beyond the issue.
由索引模型根据 Issue 内容生成。
描述
It would be a real UX improvement if we implemented a device login flow on the CLI. Publishers would run ovsx login, and a link with a user code would be provided, taking them to the web UI (prompting login if they aren't already logged in).
From there, they'd authorize the device — in this case, the CLI — to act on behalf of their publisher account. This should generate an access token that gets forwarded to the CLI, ideally scoped to just what it needs.
Meanwhile, the CLI would keep polling the server using its client ID, key, and the previously generated device code. Once the backend has generated the token, the CLI should store it in the system keychain.
- 主要语言
- Java
- 星标
- 2.1k
- 派生
- 362
- 平均合并
- 1 天 3 小时
- 30 天内合并 PR
- 44
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
eclipse-openvsx/openvsx 的其他 Issue
-
`ovsx verify` fails for a version older than the 100 newest of an extension可能已有人在做 @trivikr 今天认领。 未关闭cli
难度 2/5 1-3 小时 新手友好度 81/100
eclipse-openvsx/openvsx#2482 · 2 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
eclipse-openvsx/openvsx#2469 ·
维护者通常 1 天内回复
-
cli
难度 2/5 1-3 小时 新手友好度 66/100
eclipse-openvsx/openvsx#2423 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 45/100
eclipse-openvsx/openvsx#2476 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
eclipse-openvsx/openvsx#2439 · 2 条评论 ·
维护者通常 1 天内回复
查看 eclipse-openvsx/openvsx 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 83/100
Magic-team-jvav/confluence#281 ·
-
area/dependencies area/dependencies/js backport/26.6 backport/26.8 kind/cve severity/medium source/scan-dependencies status/triage
难度 1/5 1 小时以内 新手友好度 67/100
维护者通常 2 天内回复
-
[DEFECT] AsciiDoc builders write a stray ## before every schema member when the namespace prefixes file binds the schema's own namespace可能已有人在做 @Beehtrix 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 78/100
cimug-org/CIMTool#427 · 1 条评论 ·
维护者通常 1 天内回复
-
userRaised
难度 2/5 1-3 小时 新手友好度 76/100
eclipse-openj9/openj9#25285 ·
维护者通常 1 天内回复
-
Range type (eg Condition.onsetRange) fails IPS $summary + Observation.valueQuantity only render value in narrative可能已有人在做 @xmhorsehead 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
hapifhir/hapi-fhir#8952 · 2 条评论 ·
维护者通常 1 天内回复