You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've searched for any related issues and avoided creating a duplicate issue.
Description
This came up while I was developing an AWS Lambda function invoked by Slack OAuth's redirect_uri that will continue the OAuth dance. I thought it was counterintuitive that the WebClient doesn't allow tokenless invocation of oauth.access() (like a static/class-level method) and wondered if this can be seen as an enhancement.
The text was updated successfully, but these errors were encountered:
@nogurenn that seems like a reasonable enhancement request!
just FYI, you could instantiate a WebClient without a token and invoke the web.oauth.access() method. i know you are asking for a static method.
if we do implement this API, it seems like the most straightforward path would be instantiate a "temporary" instance of the WebClient and just invoke that method. otherwise, we would have to initialize a whole bunch of resources/state and that would duplicate the code in the constructor.
Description
The text was updated successfully, but these errors were encountered: