slack_oauth_invalid_state
error using ExpressReceiver with Bolt
#1865
Labels
question
M-T: User needs support to use the project
I'm trying to set up OAuth login and I get a
slack_oauth_invalid_state
error after clicking Allow to approve the app.Reproducible in:
The Slack SDK version
"slack/bolt": "^3.13.1",
"slack/socket-mode": "^1.3.2",
"slack/web-api": "^6.8.1",
Node.js runtime version
v20.2.0
OS info
ProductName: macOS
ProductVersion: 13.4
BuildVersion: 22F66
Darwin Kernel Version 22.5.0: Mon Apr 24 20:52:24 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T6000
Steps to reproduce:
I'm using Firebase so the directory structure is a little bit complicated.
app.js
index.js
firebase.json
Expected result:
The OAuth process should be completed successfully.
Actual result:
I'm not 100% where to look but can't see a cookie containing a state that matches the state from the url in the application's cookies for my Slack workspace URL.
The POST request to https://anotioneer.slack.com/nullclog/track/ is getting a 301 response.
The GET request to https://anotioneer.slack.com/nullclog/track is getting a 404 response.
The text was updated successfully, but these errors were encountered: