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

handling Request URL for interactive messages #65

Closed
2 of 6 tasks
hkhrais opened this issue Apr 30, 2020 · 5 comments
Closed
2 of 6 tasks

handling Request URL for interactive messages #65

hkhrais opened this issue Apr 30, 2020 · 5 comments
Labels
enhancement M-T: A feature request for new functionality question M-T: User needs support to use the project

Comments

@hkhrais
Copy link

hkhrais commented Apr 30, 2020

Description

While reading your example you have used verify_request() to verify the signature, this function does not exist in python-slack-events-api repo.

Is there a way to use python-slack-events-api to handle request URL for interactive messages (like button clicks) or do i need to build the low level verification on my own?

What type of issue is this? (place an x in one of the [ ])

  • bug
  • enhancement (feature request)
  • question
  • documentation related
  • testing related
  • discussion

Requirements

  • [ X] I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • [X ] I've read and agree to the Code of Conduct.
  • [ X] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report

Filling out the following details about bugs will help us solve your issue sooner.

Reproducible in:

slackeventsapi version:
python version:
OS version(s):

Steps to reproduce:

Expected result:

What you expected to happen

Actual result:

What actually happened

Attachments:

Logs, screenshots, screencast, sample project, funny gif, etc.

@seratch
Copy link
Member

seratch commented Apr 30, 2020

@hkhrais
Thanks for asking this question! Unfortunately, we don't provide any official tools to handle user interactions (button click, select menu, modals, home tab etc) yet. However, in the near future (I cannot tell the date to ship it yet but at least within a few months), we'll come up with a comprehensive toolkit for Python developers. Until then, please do the request verification and payload handing on your own 🙇

@seratch seratch added enhancement M-T: A feature request for new functionality question M-T: User needs support to use the project labels Apr 30, 2020
@dinvlad
Copy link

dinvlad commented Jul 17, 2020

FWIW here's a sample implementation: https://gist.github.com/dinvlad/cb2c3e8c8cd7905b832f38db92308c64

@seratch
Copy link
Member

seratch commented Jul 24, 2020

FYI: slackclient PyPI package supports request verification since v2.6.0
slackapi/python-slack-sdk#686

@dinvlad
Copy link

dinvlad commented Jul 24, 2020

Ok, thanks! It turns out our slackclient was not updated, so I haven't seen this method there. I also found another one, slack.validate_slack_signature(), which is more low-level.

@seratch
Copy link
Member

seratch commented Oct 27, 2020

Bolt for Python is almost ready for GA release sometime soon. Try the new library out and let us know your feedback!

@seratch seratch closed this as completed Oct 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement M-T: A feature request for new functionality question M-T: User needs support to use the project
Projects
None yet
Development

No branches or pull requests

3 participants