rstack dev: issue application tokens so the Evidence application tutorial runs in replay
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- rust
- Ambito
- authentication
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Rust
- Stelle
- 2
- Fork
- 0
- Merge medio
- 9h 48m
- PR unite (30g)
- 151
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di registrystack/registry-stack
-
area:breg enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
registrystack/registry-stack#2765 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
registrystack/registry-stack#2761 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
registrystack/registry-stack#2743 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
registrystack/registry-stack#2706 ·
I maintainer di solito rispondono entro 1 giorno
-
macOS contributor gates: Messaging config tests fail under the symlinked macOS temporary directoryAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
registrystack/registry-stack#2704 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di registrystack/registry-stack
Issue simili
-
help wanted needs investigation priority: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
[Bug] 建议把黑白主题设置同步到启动页面Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
AstrBotDevs/AstrBot-desktop#197 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
tomast1337/Puppeter-PptxGenJS#440 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
n0-computer/iroh#4709 ·
I maintainer di solito rispondono entro 1 giorno
-
生词本里,已标记为认识的词,按钮写「不认识了」读着别扭Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
qingjian-team/qingjian#1114 ·
I maintainer di solito rispondono entro 2 giorni