Slack: Use just 'bot' scope
This commit is contained in:
parent
57a0ebde1d
commit
2084556ded
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ std::string SlackUserRegistration::createOAuth2URL(const std::vector<std::string
|
|||
"https://slack.com/oauth/authorize",
|
||||
"https://slack.com/api/oauth.access",
|
||||
redirect_url,
|
||||
"channels:read channels:write team:read im:read im:write chat:write:bot client");
|
||||
"bot");
|
||||
std::string url = oauth2->generateAuthURL();
|
||||
|
||||
m_auths[oauth2->getState()] = oauth2;
|
||||
|
|
Loading…
Add table
Reference in a new issue