Skip to content

Commit

Permalink
feat(integration): add Slack and GitHub OAuth configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jvallesm committed Oct 30, 2024
1 parent 56be0a2 commit e05aaf2
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 12 deletions.
24 changes: 14 additions & 10 deletions .env.component
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
# Provide your API key for the AI vendors so that you can set the components up
# with default credentials.
CFG_CONNECTOR_SECRETS_OPENAI_APIKEY=
CFG_CONNECTOR_SECRETS_STABILITYAI_APIKEY=
CFG_CONNECTOR_SECRETS_ANTHROPIC_APIKEY=
CFG_CONNECTOR_SECRETS_COHERE_APIKEY=
CFG_CONNECTOR_SECRETS_MISTRALAI_APIKEY=
CFG_CONNECTOR_SECRETS_GROQ_APIKEY=
CFG_CONNECTOR_SECRETS_FIREWORKSAI_APIKEY=
CFG_COMPONENT_SECRETS_OPENAI_APIKEY=
CFG_COMPONENT_SECRETS_STABILITYAI_APIKEY=
CFG_COMPONENT_SECRETS_ANTHROPIC_APIKEY=
CFG_COMPONENT_SECRETS_COHERE_APIKEY=
CFG_COMPONENT_SECRETS_MISTRALAI_APIKEY=
CFG_COMPONENT_SECRETS_GROQ_APIKEY=
CFG_COMPONENT_SECRETS_FIREWORKSAI_APIKEY=

# Numbers Protocol API key.
CFG_CONNECTOR_SECRETS_NUMBERS_XAPIKEY=
CFG_COMPONENT_SECRETS_NUMBERS_XAPIKEY=

# OAuth secrets. When these are filled, the specified component will support
# OAuth integrations.
CFG_CONNECTOR_SECRETS_GOOGLEDRIVE_CLIENTID=
CFG_CONNECTOR_SECRETS_GOOGLEDRIVE_CLIENTSECRET=
CFG_COMPONENT_SECRETS_GOOGLEDRIVE_OAUTHCLIENTID=
CFG_COMPONENT_SECRETS_GOOGLEDRIVE_OAUTHCLIENTSECRET=
CFG_COMPONENT_SECRETS_SLACK_OAUTHCLIENTID=
CFG_COMPONENT_SECRETS_SLACK_OAUTHCLIENTSECRET=
CFG_COMPONENT_SECRETS_GITHUB_OAUTHCLIENTID=
CFG_COMPONENT_SECRETS_GITHUB_OAUTHCLIENTSECRET=
8 changes: 6 additions & 2 deletions .env.console
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Client variables for OAuth integrations.
# These values depend on .env.component.
INTEGRATION_GOOGLE_DRIVE_CLIENT_ID=${CFG_CONNECTOR_SECRETS_GOOGLEDRIVE_CLIENTID}
INTEGRATION_GOOGLE_DRIVE_CLIENT_SECRET=${CFG_CONNECTOR_SECRETS_GOOGLEDRIVE_CLIENTSECRET}
INTEGRATION_GOOGLE_DRIVE_CLIENT_ID=${CFG_COMPONENT_SECRETS_GOOGLEDRIVE_OAUTHCLIENTID}
INTEGRATION_GOOGLE_DRIVE_CLIENT_SECRET=${CFG_COMPONENT_SECRETS_GOOGLEDRIVE_OAUTHCLIENTSECRET}
INTEGRATION_SLACK_CLIENT_ID=${CFG_COMPONENT_SECRETS_SLACK_OAUTHCLIENTID}
INTEGRATION_SLACK_CLIENT_SECRET=${CFG_COMPONENT_SECRETS_SLACK_OAUTHCLIENTSECRET}
INTEGRATION_GITHUB_CLIENT_ID=${CFG_COMPONENT_SECRETS_GITHUB_OAUTHCLIENTID}
INTEGRATION_GITHUB_CLIENT_SECRET=${CFG_COMPONENT_SECRETS_GITHUB_OAUTHCLIENTSECRET}

0 comments on commit e05aaf2

Please sign in to comment.