1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/outline_ynh.git synced 2024-09-03 19:56:12 +02:00

Better guidance for Slack Client ID and Secret

This commit is contained in:
Limezy 2021-11-09 17:34:46 +07:00
parent eeaf6d068e
commit 9252495ce5
3 changed files with 10 additions and 8 deletions

View file

@ -57,8 +57,8 @@ AWS_S3_ACL=private
# #
# When configuring the Client ID, add a redirect URL under "OAuth & Permissions": # When configuring the Client ID, add a redirect URL under "OAuth & Permissions":
# https://<URL>/auth/slack.callback # https://<URL>/auth/slack.callback
SLACK_KEY=__SLACKKEY__ SLACK_KEY=__SLACK_KEY__
SLACK_SECRET=__SLACKSECRET__ SLACK_SECRET=__SLACK_SECRET__
# To configure Google auth, you'll need to create an OAuth Client ID at # To configure Google auth, you'll need to create an OAuth Client ID at
# => https://console.cloud.google.com/apis/credentials # => https://console.cloud.google.com/apis/credentials

View file

@ -49,12 +49,14 @@
"default": "en" "default": "en"
}, },
{ {
"name": "slackkey", "name": "slack_key",
"type": "string" "type": "string",
"ask": "Slack Client ID (from https://api.slack.com/apps)"
}, },
{ {
"name": "slacksecret", "name": "slack_secret",
"type": "string" "type": "string",
"ask": "Slack Client Secret (from https://api.slack.com/apps)"
} }
] ]
} }

View file

@ -40,8 +40,8 @@ fi
secret_key=`openssl rand -hex 32` secret_key=`openssl rand -hex 32`
utils_secret=`openssl rand -hex 32` utils_secret=`openssl rand -hex 32`
slackkey=$YNH_APP_ARG_SLACKKEY slack_key=$YNH_APP_ARG_SLACK_KEY
slacksecret=$YNH_APP_ARG_SLACKSECRET slack_secret=$YNH_APP_ARG_SLACK_SECRET
app=$YNH_APP_INSTANCE_NAME app=$YNH_APP_INSTANCE_NAME