Skip to content
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

Merged
merged 1 commit into from
Jul 27, 2021

Conversation

stevengill
Copy link
Member

Summary

Fixes #939 and updates the deleteInstallation example to be consistent with storeInstallation, fetchInstallation

Requirements (place an x in each [ ])

@stevengill stevengill added the docs M-T: Documentation work only label Jul 27, 2021
@stevengill stevengill added this to the 3.6.0 milestone Jul 27, 2021
@stevengill stevengill requested a review from filmaj July 27, 2021 20:01
@stevengill stevengill self-assigned this Jul 27, 2021
@codecov
Copy link

codecov bot commented Jul 27, 2021

Codecov Report

Merging #1021 (1cd159a) into main (03355fb) will not change coverage.
The diff coverage is n/a.

❗ Current head 1cd159a differs from pull request most recent head 83871c8. Consider uploading reports for the commit 83871c8 to get more accurate results
Impacted file tree graph

@@           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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 03355fb...83871c8. Read the comment docs.

Copy link
Contributor

@filmaj filmaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nicely done 👉😄👉

@@ -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.**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
**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.**

Copy link
Member

@seratch seratch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great improvement 👍

@stevengill stevengill merged commit 3fbe4ac into slackapi:main Jul 27, 2021
@stevengill stevengill deleted the issue-939 branch July 27, 2021 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs M-T: Documentation work only
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Oauth documentation needs to be more clear about slack/install path
3 participants