This issue is caused by amissing Single Sign-On (SSO) authorizationon the GitHub Personal Access Token (PAT) being used.
When a GitHub organizationenforces SAML SSO, all PATs must be explicitlyauthorized for use by the organization. If this step is skipped or the organization has changed its SSO enforcement, Git operations likegit-upload-packwill be denied — even if the PAT has the correct scopes.
Resolution
To address the issue, please verify and reauthorize Single Sign-On (SSO) for your GitHub Personal Access Token (PAT) by following these step-by-step instructions: