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: enable multiple webhook secrets for APP_WEBHOOK #94

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AdamSelene
Copy link

@AdamSelene AdamSelene commented Feb 4, 2025

What does this PR do?

We can now use multiple Intercom OAuth apps when creating piece credentials, thus accessing multiple workspaces in staging (on production we only need one OAuth app)
But when receiving a webhook event from Intercom, we verify its signature using a secret provided as an env var to ActivePieces - this secret is specific to each intercom OAuth app

This PR makes it possible to pass a map of secrets, indexed by app ID

@AdamSelene AdamSelene marked this pull request as ready for review February 4, 2025 20:39
Copy link
Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@AdamSelene AdamSelene force-pushed the olivier-sambourg/feat-enable-multiple-webhook-secrets-for-APP_WEBHOOK branch 4 times, most recently from 3d0b937 to 5e10fdb Compare February 4, 2025 21:47
@AdamSelene AdamSelene force-pushed the olivier-sambourg/feat-enable-multiple-webhook-secrets-for-APP_WEBHOOK branch from 5e10fdb to abf412a Compare February 5, 2025 10:12
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

Successfully merging this pull request may close these issues.

1 participant