-
-
Notifications
You must be signed in to change notification settings - Fork 950
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: allow multiple webhook body sources #1606
Conversation
"file:///path/to/body.jsonnet", | ||
"/path/to/body.jsonnet", | ||
"./body.jsonnet", | ||
"base64://ZnVuY3Rpb24oY3R4KSB7CiAgaWRlbnRpdHlfaWQ6IGlmIGN0eFsiaWRlbnRpdHkiXSAhPSBudWxsIHRoZW4gY3R4LmlkZW50aXR5LmlkLAp9=" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we allow loading from http
too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, if the loader is registered.
Codecov Report
@@ Coverage Diff @@
## master #1606 +/- ##
=======================================
Coverage 74.17% 74.18%
=======================================
Files 257 258 +1
Lines 12557 12568 +11
=======================================
+ Hits 9314 9323 +9
- Misses 2624 2626 +2
Partials 619 619
Continue to review full report at Codecov.
|
Related issue(s)
Currently the webhook body can only be loaded from a local file. This allows to use any source enabled in the JSONSchema loaders (file, base64, https, ...)
Checklist
contributing code guidelines.
vulnerability. If this pull request addresses a security. vulnerability, I
confirm that I got green light (please contact
security@ory.sh) from the maintainers to push
the changes.
works.
Further Comments