Add basic authentication for token_grant credentials

Aberta
#5,952 1 comentário 1 reação 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
25/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
git, github, rust

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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
Linguagem predominante
Rust
Estrelas
21.5k
Forks
2.1k
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de NVIDIA/OpenShell

Todas as issues de NVIDIA/OpenShell

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.