How can I give the startup script access to an external GitHub repo that I have access to? #9118
Unanswered
ryansburgoyne
asked this question in
Q&A
Replies: 1 comment 1 reply
-
#9121 might be related. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have configured a GitHub app and installed it in my organization per the docs. This way, users can authenticate to GitHub before creating a workspace, and the startup script is able to use their credentials to clone repositories owned by my organization.
However, my GitHub account has access to a third-party repository (Epic Games Unreal Engine in this case) that I want to be able to clone from the startup script as well. I was hoping that when I authenticated with GitHub, it would allow me to grant access to additional repositories (like it does in the OAuth flow), but that doesn't appear to be the case. I can only access the ones for my organization (I assume because Epic Games hasn't installed my app in their GitHub organization).
I can get it to work by adding my Coder SSH key to my GitHub account and cloning using SSH, but I was hoping to make this process more streamlined using the Git Providers. Is there any way to accomplish what I am trying to do?
Beta Was this translation helpful? Give feedback.
All reactions