fast-eve-41839
06/29/2023, 10:50 AMafter
webhook on settings
looking like this:
can_interrupt: false
method: POST
response:
ignore: false
parse: false
In this scenario I do receive the webhook. It does not seem to care if I return Unauthorized/forbidden, the change of email still goes through.
I thought that changing it to parse: true
would do it like this:
can_interrupt: false
method: POST
response:
ignore: false
parse: true
When I do that however I stop receiving the webhook calls.steep-lamp-91158
can_interupt: true
and parse: true
steep-lamp-91158
fast-eve-41839
06/29/2023, 11:38 AMfast-eve-41839
06/29/2023, 11:38 AMcan_interrupt
in the docs though.fast-eve-41839
06/29/2023, 11:44 AMcan_interrupt
to true
or parse
to true
I stop receiving the webhooksfast-eve-41839
06/29/2023, 11:44 AMfast-eve-41839
06/29/2023, 11:54 AMsteep-lamp-91158
fast-eve-41839
06/30/2023, 11:49 AMsteep-lamp-91158
steep-lamp-91158
fast-lunch-54279
refined-kangaroo-48640
06/30/2023, 12:39 PMcan_interrupt
field is deprecated and should not be used.refined-kangaroo-48640
06/30/2023, 12:40 PMresponse.ignore=false
&& response.parse=true
should be what you need, I thinkfast-eve-41839
06/30/2023, 12:43 PMcan_interrupt
field (it is a field I got from pulling the config using the Ory CLI).
When I go from
ignore: false
parse: false
to
ignore: false
parse: true
I stop receiving the webhook calls all together.fast-eve-41839
06/30/2023, 2:05 PMrefined-kangaroo-48640
06/30/2023, 2:08 PMrefined-kangaroo-48640
06/30/2023, 2:09 PMrefined-kangaroo-48640
06/30/2023, 2:09 PMweb_hook
yaml block inside the profile
block (which is in turn inside the after
block)fast-eve-41839
06/30/2023, 2:09 PMrefined-kangaroo-48640
06/30/2023, 2:11 PMsettings:
after:
profile:
hooks:
- hook: web_hook
config:
url: <https://webhook.site/6c0a7750-d3fa-4779-b860-3e9626988e10?after&can_interrupt=true&ignore=false&parse=false&profile>
method: POST
body: <base64://ZnVuY3Rpb24oY3R4KSB7CgljdHg6IGN0eCwKfQo>=
can_interrupt: true
response:
ignore: false
parse: false
refined-kangaroo-48640
06/30/2023, 2:12 PMfast-eve-41839
06/30/2023, 2:17 PMfast-eve-41839
06/30/2023, 2:27 PMhooks
, password
, profile
and when to use what?refined-kangaroo-48640
06/30/2023, 2:54 PMpassword
, profile
, oidc
etc blocks.