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
Much of this API client relies on passing in the token as a query parameter (?token=...). We have found that Slack has stopped supporting that method of authentication for any newly created app, though interestingly is still supporting it if the app was created at some point in the past.
For a specific example, we've seen it reliably with users.profile.get:
The authentication works fine using the officially documented approach:
Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter.
And it also works using the query parameter approach by this client for "legacy" apps, but it definitely does not work for newly created apps.
I'll also note: the API docs now indicate that users.profile.get should be a GET while this client uses POST. It wouldn't surprise me if that is related and/or will also be an issue down the road.
The text was updated successfully, but these errors were encountered:
Much of this API client relies on passing in the token as a query parameter (
?token=...
). We have found that Slack has stopped supporting that method of authentication for any newly created app, though interestingly is still supporting it if the app was created at some point in the past.For a specific example, we've seen it reliably with
users.profile.get
:https://api.slack.com/methods/users.profile.get
The authentication works fine using the officially documented approach:
And it also works using the query parameter approach by this client for "legacy" apps, but it definitely does not work for newly created apps.
I'll also note: the API docs now indicate that
users.profile.get
should be aGET
while this client usesPOST
. It wouldn't surprise me if that is related and/or will also be an issue down the road.The text was updated successfully, but these errors were encountered: