Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants