![]() Note: The integration must be set up by an Administrator or your Officevibe account and your Slack account This article details how Officevibe's Slack Integration works. The Daily Sync feature will also remove any members who are no longer in your Slack account from your Officevibe account. ![]() By submitting, you are agreeing to those rules.To facilitate your account setup, we have created an Integration to allow you to manage part of your Officevibe account through Slack. Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. DEBUG:slack_store.file:Installation data missing for enterprise: none, team: T03G4RLT3K3: No such file or directory: './data/installations/none-T03G4RLT3K3/installer-latest' ERROR:slack_bolt.MultiTeamsAuthorization:Although the app should be installed into this workspace, the AuthorizeResult (returned value from authorize) for it was not found. DEBUG:slack_settings:No installation data found for enterprise_id: None team_id: T03G4RLT3K3 DEBUG:slack_store.file:Installation data missing for enterprise: none, team: T03G4RLT3K3: No such file or directory: './data/installations/none-T03G4RLT3K3/bot-latest' Install is successful, but home mention and command produce nothing in the second installation. Then when you visit the app_home_mention to trigger a message or try the /hello command see a message Actual result: Should be able to install the app from /slack/install into a workspace, see success message and open slack… gunicorn -worker-tmp-dir /dev/shm app:flask_app.(Share the commands to run, source code, and project settings (e.g., setup.py)) Not sure since its on digitalocean, looks like it ight be a python docker container right now, but ideally I’ll eventually put this in an ubuntu container. Slack-sdk=3.19.5 Python runtime python -version Gunicorn_config.py bind = "0.0.0.0:8080" workers = 2 The slack_bolt version Return 'Hello World from the Slack bot instance! Now trying OAuth' }],"Hello from Slack", test_the_test(ack, body): # handle_app_home_opened_events(body, logger): # CORE FLASK APP # or app.use(log_request) State_store=FileOAuthStateStore(expiration_seconds=600, base_dir="./data/states") Installation_store=FileInstallationStore(base_dir="./data/installations"), ![]() import loggingįrom slack_settings import OAuthSettingsįrom slack_store import FileInstallationStoreįrom slack_store import FileOAuthStateStoreįrom slack_ import SlackRequestHandlerĬlient_secret=os.environ, is there an equivalent for Mongo storage? Right now I see there’s sqlalchemy and sqlite3, but didnt know if that was what was going wrong here. I know FileInstallationStore is the default to store the data, should I change that? or I know other parts of my app use mongoDB. I am running a flask app with gunicorn on the digitalocean platform. I believe I’ve implemented the OAuth flow properly but in my logs I keep seeing the second one can’t. I am an admin in multiple workspaces, but so far I am only able to install the bot to one of the two spaces. Hello, I am trying to create a Slack Bolt SDK app which I can install in multiple workspaces.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |