-
Notifications
You must be signed in to change notification settings - Fork 136
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Description
I have an issue where slack is not sending the redirect_uri to the callback as a query param, and I don't have a way of passing that to the adapter (aside from injecting it into the request which I'm doing as a temporal solution) given the fact that I might have multiple redirect uris I need to be able to specify which redirect_uri I'm using other wise the the code exchange fails with: bad_redirect_uri on line packages/adapter-slack/src/index.ts:601
Steps to Reproduce
- Create a Chat instance
- Setup slack adapter for Oauth configuration
- Set up multiple redirects on api.slack.com
- Get redirected to Oauth callback handler of Slack Adapter
- Fails with bad_redirect_uri
Expected Behavior
The adapter should let me specify the redirect_uri and have the code exchange work fine
Actual Behavior
looks for the redirect_uri in the searchParams of the request and fails with bad_redirect_uri during code exchange
Code Sample
Chat SDK Version
4.21.0
Node.js Version
25.7.0
Platform Adapter
Slack
Operating System
macOS
Additional Context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working