refactor: update OAuth scopes and improve connector UI messages

- Removed unnecessary OAuth scopes for Confluence and Jira connectors to streamline authentication requirements.
- Updated the Confluence and Jira configuration components to enhance user experience by clarifying connection update instructions and improving styling for displayed URLs.
This commit is contained in:
Anish Sarkar 2026-01-06 15:44:43 +05:30
parent 3dc04f906d
commit 6ea6e752f6
4 changed files with 7 additions and 10 deletions

View file

@ -38,8 +38,6 @@ RESOURCES_URL = "https://api.atlassian.com/oauth/token/accessible-resources"
# OAuth scopes for Confluence
SCOPES = [
"read:confluence-content.all",
"read:confluence-space.summary",
"read:confluence-user",
"read:space:confluence",
"read:page:confluence",

View file

@ -40,7 +40,6 @@ ACCESSIBLE_RESOURCES_URL = "https://api.atlassian.com/oauth/token/accessible-res
# OAuth scopes for Jira
SCOPES = [
"read:jira-work",
"write:jira-work",
"read:jira-user",
"offline_access", # Required for refresh tokens
]