You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#188 ships a single per-session PAT routed through a git credential helper that answers any host. If a session clones two private repos on different hosts (e.g. one on github.com and one on a self-hosted GitLab), the user can only supply one token; the second clone gets the wrong creds.
Proposal
Replace the single-PAT shape with a list of per-host PATs:
auth: {
pats: [
{ host: "github.com", ciphertext, iv, tag },
{ host: "gitlab.internal", ciphertext, iv, tag }
]
}
Credential helper inspects the requested URL's host and returns the matching token (or no creds if no match).
Form: change the single PAT input into a list of host | token rows.
Follow-up to #188.
Blocked by
repos: [{ … }]) that doesn't exist yet. Pick this up in the same wave as Repo clone: multi-repo support #197, or strictly after.Problem
#188 ships a single per-session PAT routed through a
git credentialhelper that answers any host. If a session clones two private repos on different hosts (e.g. one ongithub.comand one on a self-hosted GitLab), the user can only supply one token; the second clone gets the wrong creds.Proposal
Replace the single-PAT shape with a list of per-host PATs:
host | tokenrows.host: "*"to preserve behaviour, then deprecate*as a wildcard once all sessions migrate.Out of scope
Acceptance