rstack dev: issue application tokens so the Evidence application tutorial runs in replay
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ó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust
- Lĩnh vực
- authentication
Hướng nghiên cứu
Start by reading the run issuer and plan definitions that govern token grants; the issue does not name their files or tests. Decide whether development runs should mint application tokens and how declared clients’ scopes and claims are bounded before implementing the grant. Done means the Evidence application tutorial replays end to end without its test-skip, with the grant confined to the run and its TTL.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
rstack dev runs an Evidence project, but its run issuer issues tokens only for a named test person (rstack dev token RUN --as PERSON) and for a declared browser application (authorization code with PKCE). It has no client-credentials endpoint.
The tutorial Request evidence from an application shows the one-call EvidenceClient.from_profile flow, where the application obtains its own token from the issuer. Against an rstack dev run that step cannot run, so for v0.47.0 the section is marked test-skip in the tutorial gate and says it needs a deployment. The client code stays covered by crates/registry-evidence-client/tests/against_a_real_deployment.rs and the Python and Node profile-exchange tests.
Proposal
Give the run issuer a client-credentials grant for clients the plan declares (scopes and claims bounded by the plan, as for people), then remove the test-skip so the tutorial replay exercises the application flow end to end.
Decide before building
Whether a development issuer should mint application tokens at all, and how the plan names those clients and bounds their scopes. This widens what a dev run's issuer can do; keep it confined to the run and its TTL.
Deferred until after v0.47.0.
- Ngôn ngữ chính
- Rust
- Star
- 2
- Fork
- 0
- Merge trung bình
- 9 giờ 48 phút
- Pull request đã merge (30 ngày)
- 151
Chuẩn bị môi trường
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 registrystack/registry-stack
-
area:breg enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
registrystack/registry-stack#2765 ·
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 62/100
registrystack/registry-stack#2761 ·
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 70/100
registrystack/registry-stack#2743 ·
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 76/100
registrystack/registry-stack#2706 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
macOS contributor gates: Messaging config tests fail under the symlinked macOS temporary directoryĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
registrystack/registry-stack#2704 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của registrystack/registry-stack
Issue tương tự
-
help wanted needs investigation priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
[Bug] 建议把黑白主题设置同步到启动页面Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
AstrBotDevs/AstrBot-desktop#197 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
tomast1337/Puppeter-PptxGenJS#440 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
n0-computer/iroh#4709 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
生词本里,已标记为认识的词,按钮写「不认识了」读着别扭Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
qingjian-team/qingjian#1114 ·
Maintainer thường phản hồi trong vòng 2 ngày