# Cloud Agents "Access Denied" error despite correct GitHub OAuth and org policy configuration

**URL:** <https://forum.cursor.com/t/cloud-agents-access-denied-error-despite-correct-github-oauth-and-org-policy-configuration/149648>\
**Category:** Bug Reports\
**Tags:** github, cloud-agents, login\
**Created:** [January 22, 2026, 11:32pm UTC](https://forum.cursor.com/t/cloud-agents-access-denied-error-despite-correct-github-oauth-and-org-policy-configuration/149648 "2026-01-22T23:32:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Travis\_Polland](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/travis_polland/32/98168_2.png) [@Travis\_Polland](https://forum.cursor.com/u/Travis_Polland)\
**Post date:** [January 22, 2026, 11:32pm UTC](https://forum.cursor.com/t/cloud-agents-access-denied-error-despite-correct-github-oauth-and-org-policy-configuration/149648/1 "2026-01-22T23:32:41Z")

</div>

### Where does the bug appear (feature/product)?

Background Agent (GitHub, Slack, Web, Linear)

### Describe the Bug

Cloud Agents cannot access GitHub repository despite correct OAuth configuration.

Error shown: “Access Denied: Failed to check GitHub access”  
Request ID: 75517e13-1d7b-42bd-bcc2-0be896fb1488  
Repository: xxxx/xxxxx

### Steps to Reproduce

1. Go to Cursor Settings → Cloud Agents → Personal Configuration
2. Repository “xxxx/xxxx” shows Status: “Required”
3. Click “Refresh” or “Connect GitHub”
4. Error persists: “Access Denied: Failed to check GitHub access”

GitHub configuration verified as correct:

- Cursor GitHub App installed on xxx-xxxx org with “All repositories” access
- Cursor GitHub Extension OAuth App authorized with xxxx-xxx org access granted
- OAuth App approved in org’s third-party application access policy (Access restricted policy enabled)

Troubleshooting attempted:

- Uninstalled and reinstalled Cursor GitHub App
- Revoked and re-authorized OAuth App
- Approved OAuth App in org’s third-party policy
- Cleared ~/Library/Application Support/Cursor/User/globalStorage/github.auth
- Restarted Cursor multiple times

### Expected Behavior

Cloud Agents should successfully authenticate with GitHub and show “xxx-xxx/xxx” repository as accessible, allowing background agents to clone and work on the repository.

### Operating System

MacOS

### Version Information

Tried two Versions:

* * *

Version: 2.3.41  
VSCode Version: 1.105.1  
Commit: 2ca326e0d1ce10956aea33d54c0e2d8c13c58a30  
Date: 2026-01-16T19:14:00.150Z  
Electron: 37.7.0  
Chromium: 138.0.7204.251  
Node.js: 22.20.0  
V8: 13.8.258.32-electron.0  
OS: Darwin arm64 25.2.0

* * *

Version: 2.4.21  
VSCode Version: 1.105.1  
Commit: dc8361355d709f306d5159635a677a571b277bc0  
Date: 2026-01-22T16:57:59.675Z  
Build Type: Stable  
Release Track: Nightly  
Electron: 39.2.7  
Chromium: 142.0.7444.235  
Node.js: 22.21.1  
V8: 14.2.231.21-electron.0  
OS: Darwin arm64 25.2.0

### Additional Information

The xxx-xxx organisation has “Access restricted” third-party policy enabled. The “Cursor GitHub Extension” OAuth App has been explicitly approved in this policy. Other OAuth apps (CircleCI, Bitrise, Atlassian Cloud, etc.) work correctly under this same policy.

The Cursor GitHub App shows it has been installed on both xxxx-xxxx and my personal account (My account) with full read/write permissions.

Happy to provide screenshots of the GitHub configuration if helpful.

### Does this stop you from using Cursor

No - Cursor works, but with this issue

---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [January 23, 2026, 10:31am UTC](https://forum.cursor.com/t/cloud-agents-access-denied-error-despite-correct-github-oauth-and-org-policy-configuration/149648/4 "2026-01-23T10:31:01Z")

</div>

Hey there!

- Are you able to view repos/branches on [https://cursor.com/agent](https://cursor.com/agent) or does this only affect the IDE?
- What do you see under **Integrations** on [https://cursor.com/dashboard?tab=integrations](https://cursor.com/dashboard?tab=integrations)? For example, I see:

 ![Screenshot 2026-01-23 at 11.22.18](https://us1.discourse-cdn.com/cursor1/original/3X/1/0/106f78ed88fd4f624f966b0d9054bb1e16f2d916.png)

---

<div class="post-metadata">

**Author:** ![Travis\_Polland](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/travis_polland/32/98168_2.png) [@Travis\_Polland](https://forum.cursor.com/u/Travis_Polland)\
**Post date:** [January 24, 2026, 12:00am UTC](https://forum.cursor.com/t/cloud-agents-access-denied-error-despite-correct-github-oauth-and-org-policy-configuration/149648/5 "2026-01-24T00:00:54Z")

</div>

Hi,

Yes. See screenshots below:

 ![CleanShot 2026-01-24 at 10.54.10@2x](https://us1.discourse-cdn.com/cursor1/original/3X/9/5/95ac82991221ae6d62112027fde05daf2972280e.jpeg)

 ![CleanShot 2026-01-24 at 10.53.19@2x](https://us1.discourse-cdn.com/cursor1/original/3X/b/e/be154d929c6029a7842b489a094cca341733bf7e.jpeg)

 ![CleanShot 2026-01-24 at 10.55.29@2x](https://us1.discourse-cdn.com/cursor1/original/3X/0/e/0e4c28d4513bdd3f5ac67bf70f48df1e3f7d67af.jpeg)

 ![CleanShot 2026-01-24 at 10.56.13@2x](https://us1.discourse-cdn.com/cursor1/original/3X/9/6/96fd1a8b91dc8a2c9db523b3a588917a010e2fb3.jpeg)

 ![CleanShot 2026-01-24 at 10.57.42@2x](https://us1.discourse-cdn.com/cursor1/original/3X/8/d/8df196e01cb5c049ce736ce982877dbd2d4ba4ac.jpeg)

* * *

Version: 2.4.21  
VSCode Version: 1.105.1  
Commit: dc8361355d709f306d5159635a677a571b277bc0  
Date: 2026-01-22T16:57:59.675Z  
Build Type: Stable  
Release Track: Default  
Electron: 39.2.7  
Chromium: 142.0.7444.235  
Node.js: 22.21.1  
V8: 14.2.231.21-electron.0  
OS: Darwin arm64 25.2.0

---

<div class="post-metadata">

**Author:** ![Travis\_Polland](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/travis_polland/32/98168_2.png) [@Travis\_Polland](https://forum.cursor.com/u/Travis_Polland)\
**Post date:** [January 24, 2026, 12:01am UTC](https://forum.cursor.com/t/cloud-agents-access-denied-error-despite-correct-github-oauth-and-org-policy-configuration/149648/6 "2026-01-24T00:01:45Z")

</div>

Note, my Cursor IDE is set up with an SSH connection to GitHub (not HTTPS).

---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [January 24, 2026, 10:59am UTC](https://forum.cursor.com/t/cloud-agents-access-denied-error-despite-correct-github-oauth-and-org-policy-configuration/149648/8 "2026-01-24T10:59:05Z")

</div>

Thanks @Travis_Polland!

This appears to be a client-side issue that never actually reaches our servers (or GitHub’s servers) at all.

Could you try two things?

1. Open DevTools and check for errors on page load

- Check for any errors in the Console when browsing the **Cloud Agents** setting tab
- Look for any network failures in the Network tab

1. Try re-authenticating to Cursor entirely

- Sign out of Cursor (Settings → General → Log Out)
- Sign back in
- Try again

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [February 15, 2026, 10:59am UTC](https://forum.cursor.com/t/cloud-agents-access-denied-error-despite-correct-github-oauth-and-org-policy-configuration/149648/9 "2026-02-15T10:59:12Z")

</div>

Closed on February 15, 2026, 10:59am UTC

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
