Slack v0.19.0 Slack.Web.Oauth View Source
Link to this section Summary
Exchanges a temporary OAuth code for an API token
Link to this section Functions
Exchanges a temporary OAuth code for an API token.
client_id- Issued when you created your application. ex:
client_secret- Issued when you created your application. ex:
codeparam returned via the OAuth callback. ex:
redirect_uri- This must match the originally submitted URI (if one was sent). ex:
Errors the API can return:
bad_client_secret- Value passed for
bad_redirect_uri- Value passed for
redirect_uridid not match the
redirect_uriin the original request.
invalid_client_id- Value passed for
invalid_code- Value passed for