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 support for slack enterprise id #2133

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

elisherer
Copy link

Inside activity and for fetching token and bot user by it, addresses #1962

By @reesesm2000

If a bot is installed in an Enterprise Grid, it can be accessed from any of the teams in the grid. When the bot is installed, it only gets to know about the first team where the install is done therefore causing a team not found error when accessed from a separate team in the grid. Making the changes below allow for automatically adding the team id if it belongs to an already registered grid not needed the app to be reinstalled.

I followed the changes he suggested, but I changed the arguments of getTokenForTeam and getBotUserByTeam to include the entire activity (in addition) instead of just the additional enterprise id to support custom future token logic.

Inside activity and for fetching token and bot user by it, addresses howdyai#1962
@ghost
Copy link

ghost commented Jul 14, 2021

CLA assistant check
All CLA requirements met.

@stale
Copy link

stale bot commented Jan 9, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 9, 2022
@benbrown benbrown removed the stale label Mar 23, 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

Successfully merging this pull request may close these issues.

None yet

2 participants