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:
parent
eeaf6d068e
commit
9252495ce5
3 changed files with 10 additions and 8 deletions
|
@ -57,8 +57,8 @@ AWS_S3_ACL=private
|
|||
#
|
||||
# When configuring the Client ID, add a redirect URL under "OAuth & Permissions":
|
||||
# https://<URL>/auth/slack.callback
|
||||
SLACK_KEY=__SLACKKEY__
|
||||
SLACK_SECRET=__SLACKSECRET__
|
||||
SLACK_KEY=__SLACK_KEY__
|
||||
SLACK_SECRET=__SLACK_SECRET__
|
||||
|
||||
# To configure Google auth, you'll need to create an OAuth Client ID at
|
||||
# => https://console.cloud.google.com/apis/credentials
|
||||
|
|
|
@ -49,12 +49,14 @@
|
|||
"default": "en"
|
||||
},
|
||||
{
|
||||
"name": "slackkey",
|
||||
"type": "string"
|
||||
"name": "slack_key",
|
||||
"type": "string",
|
||||
"ask": "Slack Client ID (from https://api.slack.com/apps)"
|
||||
},
|
||||
{
|
||||
"name": "slacksecret",
|
||||
"type": "string"
|
||||
"name": "slack_secret",
|
||||
"type": "string",
|
||||
"ask": "Slack Client Secret (from https://api.slack.com/apps)"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -40,8 +40,8 @@ fi
|
|||
secret_key=`openssl rand -hex 32`
|
||||
utils_secret=`openssl rand -hex 32`
|
||||
|
||||
slackkey=$YNH_APP_ARG_SLACKKEY
|
||||
slacksecret=$YNH_APP_ARG_SLACKSECRET
|
||||
slack_key=$YNH_APP_ARG_SLACK_KEY
|
||||
slack_secret=$YNH_APP_ARG_SLACK_SECRET
|
||||
|
||||
|
||||
app=$YNH_APP_INSTANCE_NAME
|
||||
|
|
Loading…
Reference in a new issue