-
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
updated deleteInstallation example and fix #939 #1021
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1021 +/- ##
=======================================
Coverage 68.89% 68.89%
=======================================
Files 13 13
Lines 1212 1212
Branches 357 357
=======================================
Hits 835 835
Misses 304 304
Partials 73 73 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nicely done 👉😄👉
docs/_basic/authenticating_oauth.md
Outdated
@@ -12,6 +12,8 @@ Bolt for JavaScript will create a **Redirect URL** `slack/oauth_redirect`, which | |||
|
|||
Bolt for JavaScript will also create a `slack/install` route, where you can find an `Add to Slack` button for your app to perform direct installs of your app. If you need any additional authorizations (user tokens) from users inside a team when your app is already installed or a reason to dynamically generate an install URL, manually instantiate an `ExpressReceiver`, assign the instance to a variable named `receiver`, and then call `receiver.installer.generateInstallUrl()`. Read more about `generateInstallUrl()` in the [OAuth docs](https://slack.dev/node-slack-sdk/oauth#generating-an-installation-url). | |||
|
|||
**NOTE: The `Add to Slack` button on your apps App config page will not work with our Bolt's OAuth support. It does not include a state value. You must use the `slack/install` route created by your Bolt application to install the app.** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
**NOTE: The `Add to Slack` button on your apps App config page will not work with our Bolt's OAuth support. It does not include a state value. You must use the `slack/install` route created by your Bolt application to install the app.** | |
**NOTE: The `Add to Slack` button on your app's App config page will not work with Bolt's OAuth support. It does not include a state value. You must use the `slack/install` route created by your Bolt application to install the app.** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great improvement 👍
Summary
Fixes #939 and updates the
deleteInstallation
example to be consistent withstoreInstallation
,fetchInstallation
Requirements (place an
x
in each[ ]
)