You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have set up a before verification web_hook, but it doesn't seem to be fired in most circumstances. It doesn't seem to be fired:
Upon initial registration
When I update settings to add a new email
In both situations, I receive the verification email -- once I verify my email, the after verification webhook is fired, but in neither case is the before fired.
The only situation in which it is fired is if I manually create a new verification (GET /self-service/verification/browser), but the expected behavior (for me at least) would be for it to be fired anytime a verification flow is created, even if it's implicitly as part of another flow.
Preflight checklist
Ory Network Project
Self-hosted
Describe the bug
I have set up a
before
verificationweb_hook
, but it doesn't seem to be fired in most circumstances. It doesn't seem to be fired:settings
to add a new emailIn both situations, I receive the verification email -- once I verify my email, the
after
verification webhook is fired, but in neither case is thebefore
fired.The only situation in which it is fired is if I manually create a new verification (
GET /self-service/verification/browser
), but the expected behavior (for me at least) would be for it to be fired anytime a verification flow is created, even if it's implicitly as part of another flow.Reproducing the bug
before
verification hookRelevant log output
No response
Relevant configuration
Version
1.2.0
On which operating system are you observing this issue?
None
In which environment are you deploying?
Docker Compose
Additional Context
I was able to get the desired behavior by adding
before
CreateVerificationFlow
inselfservice/hook/verification.go
. Happy to put up a PR if this is indeed the desired behavior for Kratos.The text was updated successfully, but these errors were encountered: