Add slack integration
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
15
cfg/dev.yaml
15
cfg/dev.yaml
@@ -62,6 +62,9 @@ probod:
|
||||
addr: "localhost:1025"
|
||||
tls-required: false
|
||||
|
||||
slack:
|
||||
sender-interval: 60
|
||||
|
||||
openai:
|
||||
api-key: "thisisnotasecret"
|
||||
temperature: 0.1
|
||||
@@ -76,3 +79,15 @@ probod:
|
||||
email: "admin@getprobo.com"
|
||||
key-type: "EC256"
|
||||
insecure-tls: true
|
||||
|
||||
connectors:
|
||||
- provider: "slack"
|
||||
protocol: "oauth2"
|
||||
config:
|
||||
client-id: "slack-client-id"
|
||||
client-secret: "thisisnotasecret"
|
||||
redirect-uri: "http://localhost:8080/api/console/v1/connectors/complete"
|
||||
auth-url: "https://slack.com/oauth/v2/authorize"
|
||||
token-url: "https://slack.com/api/oauth.v2.access"
|
||||
scopes:
|
||||
- "incoming-webhook"
|
||||
|
||||
Reference in New Issue
Block a user