Minor UI improvement and updated Github sync document

This commit is contained in:
Carlos Monastyrski
2025-08-28 16:49:13 -03:00
parent 07a55bb943
commit 5944642278
4 changed files with 21 additions and 6 deletions

View File

@@ -45,6 +45,22 @@ Once configured, the GitHub Organization Synchronization feature functions as fo
When a user logs in via the GitHub OAuth flow and selects the configured organization, the system will then automatically synchronize the teams they are a part of in GitHub with corresponding groups in Infisical.
## Manual Team Sync
You can manually synchronize GitHub teams for all organization members who have previously logged in with GitHub. This bulk sync operation updates team memberships without requiring users to log in again.
To trigger a manual sync, click the **Manually sync GitHub teams for all organization members** button:
![Manual sync](../../images/platform/external-syncs/github-org-sync-manual-sync.png)
If you don't have a GitHub token configured or your token has expired, a modal will appear prompting you to provide one:
![token](../../images/platform/external-syncs/github-org-sync-manual-sync-token.png)
<Info>
The token must be granted **read:org** and **read:user** permissions to successfully sync groups. This configuration is only required once - if you already have a valid token configured, the sync will proceed automatically.
</Info>
## Troubleshooting
<Accordion title="Please check if your organization has approved the Infisical OAuth application.">

Binary file not shown.

After

Width:  |  Height:  |  Size: 472 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 704 KiB

View File

@@ -310,7 +310,11 @@ export const OrgGithubSyncSection = () => {
subTitle="Provide a GitHub access token with organization and team access permissions"
>
<div className="space-y-4">
<FormControl label="GitHub Access Token">
<FormControl
label="GitHub Access Token"
tooltipText="The provided token must be granted read:org and read:user permissions in order to successfully sync groups"
tooltipClassName="max-w-md"
>
<div className="relative">
<Input
type="password"
@@ -335,11 +339,6 @@ export const OrgGithubSyncSection = () => {
)}
</div>
</FormControl>
<p className="text-sm text-mineshaft-400">
The token needs <code>read:org</code> and <code>read:user</code> permissions to access
organization teams and members. Once provided and verified, the token will be securely
stored for future syncs.
</p>
<div className="flex justify-between">
<Button
colorSchema="secondary"