I’m experiencing an issue with Typst’s GitHub integration where I can’t connect to my organization’s repositories. When using the GitHub integration in Typst’s web app, the dropdown menu labeled “Organizations” only displays my personal account, despite me owning and belonging to several organizations. I created these organizations using the same GitHub account that I’m using for Typst. I’ve tried disconnecting and reconnecting the GitHub integration, but the organizations still don’t appear in the dropdown. Is this a known limitation of the integration, or is there perhaps a permissions issue I need to resolve? Any guidance on how to connect Typst to a GitHub organization would be greatly appreciated.
During initial connection, it will ask you about organizations, but it’s easy to miss. To fix it after the fact, go to your GitHub account settings, click “Applications” in the left sidebar, then go the “Authorized OAuth Apps” tab, click on “Typst”, and then click “Grant” next to your org in “Organization access”. If you don’t have the necessary permissions on the organization, then you’ll need to request access from an organization admin there.
Unfortunately, GitHub’s OAuth authorization system is not fine-grained enough to distinguish individual repositories, so Typst will need to have access to the full organization.