mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-26 21:39:43 +02:00
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:
parent
3dc04f906d
commit
6ea6e752f6
4 changed files with 7 additions and 10 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue