Troubleshooting Unable to Access Organization with Third-Party Restrictions Enabled

Problem

You cannot add or access your GitHub organization in CircleCI after signing up. This occurs when GitHub third-party application access restrictions are enabled for your organization, which blocks CircleCI from accessing organization resources until an admin grants permission.

Solutions

Clear CircleCI Cookies and Re-authorize

Clearing your browser cookies allows you to create a fresh OAuth token with proper organization access:

  1. Open Chrome Developer Tools by right-clicking the page and selecting "Inspect"
  2. Navigate to the "Application" tab
  3. Expand "Cookies" in the left sidebar
  4. Select https://circleci.com
  5. Delete all cookies for CircleCI

Grant Organization Access During Sign-Up

After clearing cookies, re-authenticate with GitHub and grant organization access:

  1. Go to the CircleCI homepage (the "Login" button will now show as "Sign Up")
  2. Click "Sign Up" to begin the authorization process
  3. When prompted to authorize CircleCI, click "Grant" next to your organization name
  4. Complete the authorization process

Request Admin Approval (For Non-Admins)

If you are not an organization admin, you need approval to access the organization:

  1. Go to your GitHub Account Settings - Applications
  2. Find CircleCI in the authorized applications list
  3. In the "Organization access" section, click "Request" next to your organization
  4. Wait for an admin to approve your request

Outcome

After completing these steps, your organization should appear in CircleCI and you can add projects from it. If you granted access yourself as an admin, you will see immediate access. If you requested access as a non-admin, you will see "Access request pending" until an admin approves it.

Additional Notes

  • GitHub organization owners control third-party application access restrictions
  • Each OAuth token is associated with a specific GitHub user account
  • Admin approval is required for non-admin users to access restricted organizations
  • This issue only affects organizations with third-party restrictions enabled

Additional Resources

Was this article helpful?
0 out of 4 found this helpful

Comments

0 comments

Article is closed for comments.