Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude/skills/confluence/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export CONFLUENCE_API_TOKEN="your-scoped-token"
```

Required classic scopes for scoped tokens:
- Read-only: `read:confluence-content.all`, `read:confluence-space.summary`, `search:confluence`
- Read-only: `read:confluence-content.all`, `read:confluence-content.summary`, `read:confluence-space.summary`, `search:confluence`
- Write: add `write:confluence-content`, `write:confluence-file`, `write:confluence-space`
- Attachments: `readonly:content.attachment:confluence` (download), `write:confluence-file` (upload)

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,14 +200,15 @@ When creating a scoped token, select the following [classic scopes](https://deve
| Scope | Required for |
|-------|-------------|
| `read:confluence-content.all` | Reading pages and blog posts (`read`, `info`) |
| `read:confluence-content.summary` | Reading content summaries and metadata (`read`, `info`) |
| `read:confluence-space.summary` | Listing spaces (`spaces`) |
| `search:confluence` | Searching content (`search`) |
| `readonly:content.attachment:confluence` | Downloading attachments (`attachments --download`) |
| `write:confluence-content` | Creating and updating pages (`create`, `update`) |
| `write:confluence-file` | Uploading attachments (`attachments --upload`) |
| `write:confluence-space` | Managing spaces |

For **read-only** usage, select at minimum: `read:confluence-content.all`, `read:confluence-space.summary`, and `search:confluence`.
For **read-only** usage, select at minimum: `read:confluence-content.all`, `read:confluence-content.summary`, `read:confluence-space.summary`, and `search:confluence`.

**On-premise / Data Center:** Use your Confluence username and password for basic authentication.

Expand Down
2 changes: 1 addition & 1 deletion lib/confluence-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class ConfluenceClient {
if (this.isScopedToken()) {
hints.push(
'You are using a scoped API token (api.atlassian.com). Please verify:',
' - Your token has the required scopes (e.g., read:confluence-content.all, read:confluence-space.summary)',
' - Your token has the required scopes (e.g., read:confluence-content.all, read:confluence-content.summary, read:confluence-space.summary)',
' - Your Cloud ID in the API path is correct',
' - Your email matches the account that created the token',
'See: https://developer.atlassian.com/cloud/confluence/scopes-for-oauth-2-3LO-and-forge-apps/'
Expand Down
Loading