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
Hi, I'm building a bot application for Slack. The only scope that it requests is bot. And I can't retrieve user_info and team_info because this gem is using token instead of using bot_access_token to retrieve this information. I can make a PR. Should we discuss before I start fixing it?
The text was updated successfully, but these errors were encountered:
I just ran into this same problem. Did you ever write a solution @AlphaB?
Our workaround has been to ask for users:read,team:read,bot so that it is able to retrieve user_info and team_info with the token, but this is far from ideal because the user sees a big yellow warning on the Slack auth page as a result.
Hi @jmanian. I didn't find any normal solution for this problem. Asking for users:read and team:read can cause some question from Slack team, when they will approve your application to the Slack App Directory. So the simplest solution for me was to use a bot token from omniauth for a simple http request to users.info and team.info methods with Net::HTTP.
It doesn't seem like it would be too tricky to fix. But I'm actually back on the 2.3.0 release with my application, so I need to migrate to the latest code (which looks like it might break some things in my app) before trying to write a fix 😵
Hi, I'm building a bot application for Slack. The only scope that it requests is
bot
. And I can't retrieveuser_info
andteam_info
because this gem is usingtoken
instead of usingbot_access_token
to retrieve this information. I can make a PR. Should we discuss before I start fixing it?The text was updated successfully, but these errors were encountered: