Add basic authentication for token_grant credentials

Aperta
#5,952 1 commento 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
git, github, rust

Direzione di ricerca

Start by locating the token_grant credential handling in the Rust codebase and reading how the existing bearer and raw-header auth styles are modelled and applied to outbound requests. The profile schema needs a username field alongside the new auth_style: basic, so check where profiles are parsed and validated before touching the injection path. Done means a token grant with basic auth produces a correctly base64-encoded Authorization: Basic header that GitHub's git endpoint and the GitHub CLI accept.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

state:triage-needed
User Story

I use OpenShell sandboxes for engineers and with SPIRE and want Git to fetch with a per-sandbox GitHub App token

Problem Statement

At the moment token_grant injects bearer or a raw header but GitHub git endpoint accepts only Basic

Impact / Why This Matters

Without this feature there is no good way to handle dynamic gh repo access with proper identity

Proposed Design

Add auth_style: basic for token grants, with a user name field in the profile

Acceptance Criteria
  • Token can be used by Github CLI
Alternatives Considered

n/a

Agent Investigation

No response

Checklist
  • I've reviewed existing issues and the published docs
  • This is a design proposal, not a "please build this" request
Lingua principale
Rust
Stelle
21.5k
Fork
2.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di NVIDIA/OpenShell

Tutte le issue di NVIDIA/OpenShell

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.