![]() There is one question: warnings in the logs. I can use my /install URL in my landing page or in App directory without any troubles. I understood this after I read the issue #248 Could you explain what I'm doing wrong?Ībout slack button in app settings. I do not quite understand what is going on. ID "U02U97PGYBZ" is bot_user_id how I assume but installer-U02U97PGYBZ-latest file has not been created in the installation directory. with non-existing file: installer-U02U97PGYBZ-latest (The ID is fake) for example, but in the directory I have the file with other ID installer-.-latest and the app works. The url from /install path has something like this: įor every request from Slack I get the warning in the logs: Failed to find an installation data. Below are some common ones, as well as a list of the errors the Slack CLI may raise, what they mean, and some ways to remediate them. The url from App settings does not have state query parameter. Troubleshooting errors can be tricky between your development environment, the Slack CLI, and those encountered when running your code. I can install my app in any workspace but only use URL button from my my.app.domain/install path, the button from App settings does not work. settings OAuth settings to configure this module. redirect_uri_path) async def oauth_redirect( req: Request): The module to run the Slack app installation flow (OAuth flow). install_path) async def install( req: Request): Installation_store = FileInstallationStore(Įxpiration_seconds = oauth_config. ![]() It fails, I think somehow it's not saving the OAuth data but I don't know whyĬlient_secret = secrets. See an example in the `examples` folder within your Bolt app." "text": "This button won't do much for now but you can set up a listener for it using the `actions()` method and passing its unique `action_id`. "text": "*Welcome to your _App's Home_* :tada:" # the view object that appears in the app home # the user that opened your app's app home # view.publish is the method that your app uses to push a view to the Home tab Return open_modal(client, event, logger): State_store=FileOAuthStateStore(expiration_seconds=600, base_dir="./data") Redirect_uri_path="/slack/oauth_redirect", From slack_ import SlackRequestHandlerįrom slack_settings import OAuthSettingsįrom slack_store import FileInstallationStoreįrom slack_store import FileOAuthStateStoreĬlient_secret=os.environ,
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |