We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
basically what I want to do is to store a secret key in a file that webhook would read, then compare that value to a header on the incoming webhook.
Is there a way to do that? Is there another way to do it with some other method, without hard-coding the value of the token in the hooks.json file?
The text was updated successfully, but these errors were encountered:
webhook doesn't provide an easy way to do that, currently. Could be possible to write your own solution with #356 once it's completed.
Sorry, something went wrong.
Two alternatives come to mind that you could use currently:
Set up your hook to call a wrapper that checks the headers for the secret key, which it can read from the file when the hook fires.
Enable hot reloading of the hooks file and have a script that transforms a base template of it by adding a comparison requirement.
No branches or pull requests
basically what I want to do is to store a secret key in a file that webhook would read, then compare that value to a header on the incoming webhook.
Is there a way to do that? Is there another way to do it with some other method, without hard-coding the value of the token in the hooks.json file?
The text was updated successfully, but these errors were encountered: