Title: [bug] GitHub token broken with 3.1.x · Issue #286 · sourcebot-dev/sourcebot · GitHub
Open Graph Title: [bug] GitHub token broken with 3.1.x · Issue #286 · sourcebot-dev/sourcebot
X Title: [bug] GitHub token broken with 3.1.x · Issue #286 · sourcebot-dev/sourcebot
Description: Describe the bug Repos no longer clone with the GITHUB_TOKEN. This was added with the bitbucket support, specifically this line. The clone URL is https://:(token)@github.com/myorg/myrepo (note the extra : character, since there's no user...
Open Graph Description: Describe the bug Repos no longer clone with the GITHUB_TOKEN. This was added with the bitbucket support, specifically this line. The clone URL is https://:(token)@github.com/myorg/myrepo (note the ...
X Description: Describe the bug Repos no longer clone with the GITHUB_TOKEN. This was added with the bitbucket support, specifically this line. The clone URL is https://:(token)@github.com/myorg/myrepo (note the ...
Opengraph URL: https://github.com/sourcebot-dev/sourcebot/issues/286
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[bug] GitHub token broken with 3.1.x","articleBody":"### Describe the bug\n\nRepos no longer clone with the `GITHUB_TOKEN`. This was added with the bitbucket support, specifically [this line](https://github.com/sourcebot-dev/sourcebot/blame/main/packages/backend/src/repoManager.ts#L249).\n\nThe clone URL is `https://:(token)@github.com/myorg/myrepo` (note the extra `:` character, since there's no username.\n\n### To reproduce\n\nTry to add a new repo using a `GITHUB_TOKEN` and sourcebot v3.1.1.\n\n### Sourcebot deployment information\n\nSourcebot version v3.1.1\n\n\n### Additional information\n\n_No response_","author":{"url":"https://github.com/joemccall86","@type":"Person","name":"joemccall86"},"datePublished":"2025-04-30T19:58:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/286/sourcebot/issues/286"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a9edb56c-3b21-9d26-8d29-e21520b51e8f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 86B0:228D4:12694D2:19B7F08:6A4EA31D |
| html-safe-nonce | 98aae5a307b74cafd3bf24cd4018013e494379c876cd03a6df2f12c2f73ac99c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkIwOjIyOEQ0OjEyNjk0RDI6MTlCN0YwODo2QTRFQTMxRCIsInZpc2l0b3JfaWQiOiI1ODA4MDM4NjIwNjYxOTgxOTgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | eab9f4842b1eb1f26fea7cbaaca4feb71fe41b2fe8baf1267056f195af550dfa |
| hovercard-subject-tag | issue:3032363614 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/sourcebot-dev/sourcebot/286/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4e50338ac436491b314e211f24f97ed9024f65e801a4b537f038f30ff7e4a15c/sourcebot-dev/sourcebot/issues/286 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4e50338ac436491b314e211f24f97ed9024f65e801a4b537f038f30ff7e4a15c/sourcebot-dev/sourcebot/issues/286 |
| og:image:alt | Describe the bug Repos no longer clone with the GITHUB_TOKEN. This was added with the bitbucket support, specifically this line. The clone URL is https://:(token)@github.com/myorg/myrepo (note the ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | joemccall86 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| go-import | github.com/sourcebot-dev/sourcebot git https://github.com/sourcebot-dev/sourcebot.git |
| octolytics-dimension-user_id | 135396723 |
| octolytics-dimension-user_login | sourcebot-dev |
| octolytics-dimension-repository_id | 846729675 |
| octolytics-dimension-repository_nwo | sourcebot-dev/sourcebot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 846729675 |
| octolytics-dimension-repository_network_root_nwo | sourcebot-dev/sourcebot |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width