Forum Discussion
How Git Integration with Fabric and only one GitHub Organization?
hi Anonymous and Tutu_in_YYC
Let me try to explain:
I have a workspace admin in Fabric who, during the integration process, despite being logged into the company’s Fabric account with corporate credentials, mistakenly integrated it with a personal GitHub organization instead of the company's organization.
What I would like to do is restrict the company's Fabric to be integrated only with the company's GitHub organization, to prevent this kind of error from happening.
Is there a way to implement this process?
best regards
- Anonymous1 year agoNot applicable
Hi hiran-filho
Sorry I don't find such a setup or configuration in Fabric. Maybe you can try:
- log out the current Github account from Fabric,
- clear the caches and cookies of the Web browser,
- re-generate a new personal access token for the company's organization and use it to create the git integration connection again.
What's more, are you using a classic personal access token (PAT) or a fine-grained one? I learned that a classic PAT will grant access to all repositories within the organizations that you have access to, as well as all personal repositories in your personal account. However, a fine-grained PAT allows you to specify more detailed permissions and access controls and it can be restricted to specific repositories and actions within an organization. You may try generating a fine-grained PAT for the Fabric git integration if possible.
Managing your personal access tokens - GitHub Docs
Setting a personal access token policy for your organization - GitHub Docs
In addition, I recommend that you provide a specified repo URL when you add an account.
Hope this would be helpful. If you still have questions, feel free to ask.
Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!