-
Notifications
You must be signed in to change notification settings - Fork 380
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
Unhandled request to /slack/install #2096
Comments
Hi @zhifengkoh, thanks for asking the question. I just quickly checked if your example app works for me, and I didn't see any issues with it ( |
Thanks @seratch for helping me to verify that! I will try to figure it out. |
👋 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. |
Apologies in advance if this isn't the right place to ask, but I didn't know where else to turn to after a lot of Googling and ChatGPT/Perplexity.
I am trying to setup OAuth for my BoltJS app so that I can prepare my app for distribution on multiple workspaces. I'm not very familiar building with OAuth so the inner workings are not familiar to me. So far, I'm following along the BoltJS documentation, which has been quite easy to follow for the most part. But where the BoltJS documentation says once OAuth is enabled, I should see an automatically rendered App Install page located at the URL path
/slack/install
, my server is instead giving me a 404 error and that this path is unhandled.I don't understand what the issue could be because so far my app is very simple: it has only implemented
app.command
app.view
app.message
)Thank you in advance for your help! My app.js is appended below.
Reproducible in:
The Slack SDK version
"slack/bolt": "^3.17.1"
Node.js runtime version
v20.11.1
OS info
Steps to reproduce:
(Share the commands to run, source code, and project settings)
node app.js
http://my-domain.ngrok-free.app/slack/install
)Expected result:
I was expecting to see the default slack install webpage rendered by Bolt, as mentioned here: https://slack.dev/bolt-js/concepts#authenticating-oauth.
My app is working fine when events and user interactions (with modals, multi-select menus built in Block Kit, etc.) are sending requests to
http://my-domain.ngrok-free.app/slack/events
. So it's not an issue with my ngrok tunnel or the app itself.Actual result:
After entering
http://my-domain.ngrok-free.app/slack/install
in my browser:/slack/install
):My app.js
The text was updated successfully, but these errors were encountered: