Multi-workspace app's Events API compatibility in shared channels #687
Labels
bug
M-T: confirmed bug report. Issues are confirmed when the reproduction steps are documented
semver:patch
Milestone
Description
Currently, Bolt extracts
enterprise_id
andteam_id
from the top-level fields in the Events API payload. It works for single workspace apps but it doesn't for multi-workspace apps (OAuth flow supported apps). The fields are supposed to be the ones for source workspace (the originator of the shared channel) in shared channels. Bolt needs to respectauthorizations[0].team_id
overteam_id
(the same forenterprise_id
).What type of issue is this? (place an
x
in one of the[ ]
)Requirements (place an
x
in each of the[ ]
)Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version: ~ v2.4.1
node version: any
OS version(s): any
message
events in the shared channelcontext.team_id
is not A but B in this caseExpected result:
Bolt always tells the workspace A for incoming requests
Actual result:
Bolt fails the authorized workspace ID.
The text was updated successfully, but these errors were encountered: