Skip to content

Add basic authentication for token_grant credentials #5952

Backlog

Description

@RafPe

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

Activity

  1. added
    state:triage-needed
    on Nov 24, 2026
  2. RafPe commented on Nov 24, 2026

    @RafPe
    Author

    Would be more than happy to bring PR for this - as its just ~20 lines of code in this form

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:triage-needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions