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

Does this verify webhooks are not spoofed? #123

Open
bilogic opened this issue Oct 25, 2024 · 1 comment
Open

Does this verify webhooks are not spoofed? #123

bilogic opened this issue Oct 25, 2024 · 1 comment

Comments

@bilogic
Copy link

bilogic commented Oct 25, 2024

  • BotMan Version: 2.8.7
  • PHP Version: 8.2.24
  • Messaging Service(s): driver-telegram:2.0.6
  • Cache Driver: LaravelCache

I'm using curl to trigger my webhook, means there is no verification correct?

@bilogic
Copy link
Author

bilogic commented Oct 25, 2024

We should set the secret_token mentioned here https://stackoverflow.com/a/72988277/3872647, and probably add a middleware/formrequest that the bot's controller will utilize

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant