-
Notifications
You must be signed in to change notification settings - Fork 378
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
custom routes not working #2084
Comments
What is
You can check the code for how Bolt initializes receivers and handles the If you are instantiating your own receiver, then please look at our Receiver Reference documentation, and specifically the |
You don't need to define /slack/install and /slack/oauth_redirect URLs as they are already enabled by the Express receiver. If you desire to customize the behavior, please pass installerOptions with callbackOptions: https://slack.dev/node-slack-sdk/reference/oauth#callbackoptions |
I tried this below code with version of boltjs
|
Since v3.11, we've improved the security about the OAuth flow. Refer to the release notes for more details: https://github.com/slackapi/bolt-js/releases/tag/%40slack%2Fbolt%403.11.0
We really don't recommend |
Now I used this
It still taking user to the page to select the workspace once user select and click install it then redirect to other website , I am using |
👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. If you think this issue needs to be prioritized, please comment to get the thread going again! Maintainers also review issues marked as stale on a regular basis and comment or adjust status if the issue needs to be reprioritized. |
As this issue has been inactive for more than one month, we will be closing it. Thank you to all the participants! If you would like to raise a related issue, please create a new issue which includes your specific details and references this issue number. |
I have
@slack/bolt
versionv3.7.0
and using a custom route but it's not working for express receiver in some cases. Could you pls share what is the behaviour here?when I am trying below endpoint
/health-check
I get
When I add using express it works
but for
/slack/install
it still failsThe text was updated successfully, but these errors were encountered: