Skip to content
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

Add docs/examples for oauth.v2.exchange #63

Closed
davidcelis opened this issue Dec 14, 2022 · 1 comment
Closed

Add docs/examples for oauth.v2.exchange #63

davidcelis opened this issue Dec 14, 2022 · 1 comment

Comments

@davidcelis
Copy link

The oauth.v2.exchange method doesn't have any documentation or sample responses, making it difficult to reason through how it may behave differently or respond differently when exchanging bot tokens vs when exchanging user tokens. User tokens are often returned differently from Slack's API, usually nested within an authed_user object. Is it the same for oauth.v2.exchange? We have no way of knowing without testing it ourselves, which is difficult because tokens can only be exchanged once

@dblock
Copy link
Collaborator

dblock commented Dec 15, 2022

The ref is just a scraper from Slack documentation to create machine-readable API references used in places like slack-ruby-client, so you're probably asking in the wrong place. Contact slack?

https://api.slack.com/methods/oauth.v2.exchange

@dblock dblock closed this as completed Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants