Skip to content

Commit 85b7419

Browse files
authored
docs: add missing OAuth scopes to .env.example (sooperset#766)
Add required OAuth scopes that were missing from the example: - read:jira-user: Required for Jira user operations - read:confluence-content.summary: Required for Confluence content - search:confluence: Required for Confluence search - read:page:confluence: Granular scope required for Confluence v2 API The read:page:confluence scope is particularly important as OAuth authentication uses the v2 API which requires this granular scope for page operations.
1 parent 39104e5 commit 85b7419

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ CONFLUENCE_URL=https://your-company.atlassian.net/wiki
6161
#ATLASSIAN_OAUTH_CLIENT_ID=your_oauth_client_id
6262
#ATLASSIAN_OAUTH_CLIENT_SECRET=your_oauth_client_secret
6363
#ATLASSIAN_OAUTH_REDIRECT_URI=http://localhost:8080/callback # Must match your app's redirect URI
64-
#ATLASSIAN_OAUTH_SCOPE=read:jira-work write:jira-work read:confluence-space.summary read:confluence-content.all write:confluence-content offline_access # IMPORTANT: 'offline_access' is crucial for refresh tokens
64+
#ATLASSIAN_OAUTH_SCOPE=read:jira-work write:jira-work read:jira-user read:confluence-space.summary read:confluence-content.summary read:confluence-content.all write:confluence-content search:confluence read:page:confluence offline_access # IMPORTANT: 'offline_access' is crucial for refresh tokens
6565

6666
# Required for the server AFTER running --oauth-setup (this ID is printed by the setup wizard):
6767
#ATLASSIAN_OAUTH_CLOUD_ID=your_atlassian_cloud_id_from_oauth_setup

0 commit comments

Comments
 (0)