-
Notifications
You must be signed in to change notification settings - Fork 841
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
Team ID not set to "none" when doing an org-wide install #1639
Comments
Hi @GabeL7r thanks for writing in 💯 Is this behavior showing up in production or in some sort of test? |
@WilliamBergamin it's showing up in a Slack Developer Sandbox. I haven't tried outside of a Developer Sandbox because I don't have an enterprise Slack Account :) Here is an example of what the
|
This is interesting it is the first time we encounter this 🤔 let me ask internally try to get more info on this But since |
@GabeL7r would you be able to share the source code to you're app and it manifest? I would like to try and reproduce this on my end, there should not be any difference with a sandbox or enterprise |
(Filling out the following details about bugs will help us solve your issue sooner.)
Reproducible in:
The Slack SDK version
slack_sdk==3.33.1
Python runtime version
Python 3.11.2
OS info
Darwin Kernel Version 23.5.0: Wed May 1 20:16:51 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8103
Steps to reproduce:
Update the
test_org_installation
intests/slack_sdk/oauth/installation_store/test_amazon_s3.py
by changing the installation to contain a team_id:python -m pytest tests/slack_sdk/oauth/installation_store/test_amazon_s3.py
Expected result:
I expect this test to pass. When I install a Slack App and use Python Bolt it passes a
team_id
into the installation resulting in a S3 key that is the enteprise id and team id:However, once the installation is complete, the
find_installation
method sets theteam_id
to "none" whenis_enterprise_install
is True.Actual result:
Requirements
For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. 🙇
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
The text was updated successfully, but these errors were encountered: