forked from Gitlink/gitlink-cli
Root cause: GitLink login API returns session cookies (autologin_trustie), not API access_tokens. The old code tried to use the cookie value as an access_token query parameter, which GitLink rejects. Fix: store auth cookies with "cookie:" prefix. Transport detects the prefix and sends credentials as Cookie header instead of access_token param. Private tokens (from --token mode) continue to use access_token param — fully backward compatible. Verified: login → store cookie → GetCurrentUser → repo list all pass. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| bin | ||
| scripts | ||
| package.json | ||