-
Notifications
You must be signed in to change notification settings - Fork 393
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
authorize function doesn't get triggered #1339
Comments
Hi @goldylucks, thanks for asking the question! I've verified if I can see the same situation on my end but my bolt-js app works without this error. The error message you've faced indicates that your Can you make sure if your app are using the valid signing secret again? |
Thanks for the prompt response!
|
basically I'm trying to mimic a slack interaction/msg/event from a test, so any way to make it work is fine with me |
The built-in signature verification is done before your
As for testing, one of other maintainers already answered here, writing tests to pass event payloads to your I hope you will find a reasonable solution for your app testing. By the way, your original question here is:
I believe that the first sentence in this response should be the answer for it. Do we have anything further to discuss here? |
yes I saw the other response but it's for unit testing and I prefer E2E, i.e. trigger the http call itself. can you tell me what I'm doing wrong in my function to generate the signature? |
@goldylucks a few things:
Hope this is helpful. If there is nothing else in this issue to address, please kindly close the issue. Otherwise, we are here to help. |
yes yes, the boolean works perfectly! ❤️ |
Description
I provided an authorize function to the app and it doesn't get called and I get signature errors.
What type of issue is this? (place an
x
in one of the[ ]
)Requirements (place an
x
in each of the[ ]
)Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version:
node version: 16
OS version(s): macOS monterey 12.2.1
Steps to reproduce:
then make a request to
/slack/events
and see no console message and this:I also tried to implement the headers myself based on the docs:
but then I see signature mismatch error
Expected result:
see the console log and be authorized to make requests.
Actual result:
auth error
The text was updated successfully, but these errors were encountered: