Closed iggyray closed 2 months ago
Hmm I suppose the v6.x line of this module papered over this by extending from WebApiCallOptions
which allowed for any property to be passed in - but also didn't explicitly require a token.
The API reference docs for this method are also not very extensive 😞
Looking into it!
The fix is now live in 7.0.4 of the library: https://github.com/slackapi/node-slack-sdk/releases/tag/%40slack%2Fweb-api%407.0.4 and on npm. Thanks for reporting!
BTW the docs also got updated 😄 https://api.slack.com/methods/oauth.v2.exchange
The arguments for
oauth.v2.exchange
are defined byOAuthV2ExchangeArguments
.It seems like the
token
parameter is missing here.Packages:
Select all that apply:
@slack/web-api
@slack/rtm-api
@slack/webhooks
@slack/oauth
@slack/socket-mode
@slack/types
Reproducible in:
Slack SDK version: "@slack/web-api": "^7.0.2",