-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation Options on api.slack.com 'Manage Distribution' don't work #1284
Comments
Update: it appears removing Upon choosing Allow, the app returns: "Oops, Something Went Wrong! Please Try Again or Contact the App Owner" Logs show |
Hi @brianjychan, can you check https://slack.dev/bolt-js/concepts#authenticating-oauth ?
This means that, instead using the generated If you want to embed const app = new App({
signingSecret: process.env.SLACK_SIGNING_SECRET,
clientId: process.env.SLACK_CLIENT_ID,
clientSecret: process.env.SLACK_CLIENT_SECRET,
scopes: ['chat:write', 'commands'],
installerOptions: {
directInstall: true,
}
}); I hope this helps! |
Hi @seratch, thanks for the help. Where is the
I also used // @ts-ignore, but upon running the code, nothing changed, and |
@brianjychan The option was added in v3.7: #977 but you're using v3.4. Can you upgrade to the latest (v3.9)? The documents are not great enough. We'll improve it in the future. |
I see, thanks — yes the docs being better would be very helpful.
Sent via Superhuman ( ***@***.*** )
…On Wed, Jan 26, 2022 at 12:45 AM, Kazuhiro Sera < ***@***.*** > wrote:
@ brianjychan ( https://github.com/brianjychan ) The option was added in
v3.7: #977 ( #977 ) but you're
using v3.4. Can you upgrade to the latest (v3.9)? The documents are not
great enough. We'll improve it in the future.
—
Reply to this email directly, view it on GitHub (
#1284 (comment) ) ,
or unsubscribe (
https://github.com/notifications/unsubscribe-auth/AIEQDZBWZNJLG3OBZMQSAXTUX4YZDANCNFSM5MTS7GEA
).
Triage notifications on the go with GitHub Mobile for iOS (
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
) or Android (
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
).
You are receiving this because you were mentioned. Message ID: <slackapi/bolt-js/issues/1284/1021714745
@ github. com>
|
Sorry for the confusion due to the documents. We'll improve it soon! Let us close this issue now. |
Description
Both the Embeddable Slack Button and Shareable URL do not work. It results in a page saying:
"""
(App Name) could not be installed.
It looks like something has gone awry. Don’t worry it’s not your fault, but you won’t be able to install (App Name) at the moment.
Error details
Invalid permissions requested
invalid_scope
"""
What's the reason for this? I am using the Bolt framework with a custom receiver, and the /slack/install path works fine. I'm aiming to provide an install button on my React frontend. What fix or workaround do you advise?
Thank you!
What type of issue is this? (place an
x
in one of the[ ]
)Requirements (place an
x
in each of the[ ]
)Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version: 3.4.0
node version: 15.12
OS version(s): Mac OSX
Steps to reproduce:
Expected result:
Successful installation
Actual result:
Error as described above
The text was updated successfully, but these errors were encountered: