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

feat(Telegram Trigger Node): Verify Webhook requests #8383

Merged

Conversation

maspio
Copy link
Contributor

@maspio maspio commented Jan 18, 2024

Summary

To make sure webhook requests are actually coming from Telegram we can use the secret_token parameter from setWebhook for validation.

Related tickets and issues

NODE-1006

Review / Merge checklist

  • PR title and summary are descriptive. Remember, the title automatically goes into the changelog. Use (no-changelog) otherwise. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.

    A bug is not considered fixed, unless a test is added to prevent it from happening again.
    A feature is not complete without tests.

@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team node/improvement New feature or request labels Jan 18, 2024
@maspio maspio marked this pull request as ready for review January 18, 2024 13:03
Copy link

cypress bot commented Jan 18, 2024

Passing run #3823 ↗︎

0 336 5 0 Flakiness 0

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 maspio 🗃️ e2e/*
Project: n8n Commit: a733851757
Status: Passed Duration: 03:26 💡
Started: Jan 18, 2024 3:40 PM Ended: Jan 18, 2024 3:44 PM

Review all test suite changes for PR #8383 ↗︎

Copy link
Contributor

✅ All Cypress E2E specs passed

@maspio maspio merged commit 1117612 into master Jan 19, 2024
28 checks passed
@maspio maspio deleted the node-1006-telegram-trigger-missing-webhook-verification branch January 19, 2024 08:09
@github-actions github-actions bot mentioned this pull request Jan 24, 2024
@janober
Copy link
Member

janober commented Jan 24, 2024

Got released with [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team node/improvement New feature or request Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants