mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-29 19:06:24 +02:00
feat: implement ClickUp OAuth integration and connector support
- Added ClickUp OAuth authentication flow with new environment variables for client ID, client secret, and redirect URI. - Introduced ClickUpHistoryConnector to manage OAuth-based authentication and token refresh for ClickUp API access. - Created ClickUp connector routes for OAuth flow, including authorization and callback handling. - Updated indexing logic to utilize the new ClickUpHistoryConnector, supporting both OAuth and legacy API token methods. - Enhanced frontend components to reflect the new ClickUp integration and removed legacy API token forms.
This commit is contained in:
parent
f2724ea162
commit
86af9b5a21
15 changed files with 1029 additions and 451 deletions
|
|
@ -34,16 +34,21 @@ REGISTRATION_ENABLED=TRUE or FALSE
|
|||
GOOGLE_OAUTH_CLIENT_ID=924507538m
|
||||
GOOGLE_OAUTH_CLIENT_SECRET=GOCSV
|
||||
|
||||
# Connector Specific Configs
|
||||
# Google Connector Specific Configurations
|
||||
GOOGLE_CALENDAR_REDIRECT_URI=http://localhost:8000/api/v1/auth/google/calendar/connector/callback
|
||||
GOOGLE_GMAIL_REDIRECT_URI=http://localhost:8000/api/v1/auth/google/gmail/connector/callback
|
||||
GOOGLE_DRIVE_REDIRECT_URI=http://localhost:8000/api/v1/auth/google/drive/connector/callback
|
||||
|
||||
# OAuth for Aitable Connector
|
||||
AIRTABLE_CLIENT_ID=your_airtable_client_id
|
||||
AIRTABLE_CLIENT_SECRET=your_airtable_client_secret
|
||||
# Aitable OAuth Configuration
|
||||
AIRTABLE_CLIENT_ID=your_airtable_client_id_here
|
||||
AIRTABLE_CLIENT_SECRET=your_airtable_client_secret_here
|
||||
AIRTABLE_REDIRECT_URI=http://localhost:8000/api/v1/auth/airtable/connector/callback
|
||||
|
||||
# ClickUp OAuth Configuration
|
||||
CLICKUP_CLIENT_ID=your_clickup_client_id_here
|
||||
CLICKUP_CLIENT_SECRET=your_clickup_client_secret_here
|
||||
CLICKUP_REDIRECT_URI=http://localhost:8000/api/v1/auth/clickup/connector/callback
|
||||
|
||||
# Discord OAuth Configuration
|
||||
DISCORD_CLIENT_ID=your_discord_client_id_here
|
||||
DISCORD_CLIENT_SECRET=your_discord_client_secret_here
|
||||
|
|
@ -51,23 +56,23 @@ DISCORD_REDIRECT_URI=http://localhost:8000/api/v1/auth/discord/connector/callbac
|
|||
DISCORD_BOT_TOKEN=your_bot_token_from_developer_portal
|
||||
|
||||
# Jira OAuth Configuration
|
||||
JIRA_CLIENT_ID=our_jira_client_id
|
||||
JIRA_CLIENT_SECRET=your_jira_client_secret
|
||||
JIRA_CLIENT_ID=your_jira_client_id_here
|
||||
JIRA_CLIENT_SECRET=your_jira_client_secret_here
|
||||
JIRA_REDIRECT_URI=http://localhost:8000/api/v1/auth/jira/connector/callback
|
||||
|
||||
# OAuth for Linear Connector
|
||||
LINEAR_CLIENT_ID=your_linear_client_id
|
||||
LINEAR_CLIENT_SECRET=your_linear_client_secret
|
||||
# Linear OAuth Configuration
|
||||
LINEAR_CLIENT_ID=your_linear_client_id_here
|
||||
LINEAR_CLIENT_SECRET=your_linear_client_secret_here
|
||||
LINEAR_REDIRECT_URI=http://localhost:8000/api/v1/auth/linear/connector/callback
|
||||
|
||||
# OAuth for Notion Connector
|
||||
NOTION_CLIENT_ID=your_notion_client_id
|
||||
NOTION_CLIENT_SECRET=your_notion_client_secret
|
||||
# Notion OAuth Configuration
|
||||
NOTION_CLIENT_ID=your_notion_client_id_here
|
||||
NOTION_CLIENT_SECRET=your_notion_client_secret_here
|
||||
NOTION_REDIRECT_URI=http://localhost:8000/api/v1/auth/notion/connector/callback
|
||||
|
||||
# OAuth for Slack connector
|
||||
SLACK_CLIENT_ID=1234567890.1234567890123
|
||||
SLACK_CLIENT_SECRET=abcdefghijklmnopqrstuvwxyz1234567890
|
||||
# Slack OAuth Configuration
|
||||
SLACK_CLIENT_ID=your_slack_client_id_here
|
||||
SLACK_CLIENT_SECRET=your_slack_client_secret_here
|
||||
SLACK_REDIRECT_URI=http://localhost:8000/api/v1/auth/slack/connector/callback
|
||||
|
||||
# Embedding Model
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue