authorizerdev / authorizer

Your data, your control. Fully open source, authentication and authorization. No lock-ins. Deployment in Railway in 120 seconds || Spin a docker image as a micro-service in your infra. Built in login page and Admin panel out of the box.

Home Page:https://authorizer.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webhook user.created does not fire when email verification is disabled

c-nv-s opened this issue · comments

commented

Version: 1.1.65 (currently latest)

Describe the bug
user.created webhook is triggered when user entry is created in database either via signup process / invite process
user.signup webhook is triggered when user email / mobile is verified:

therefore if the DISABLE_EMAIL_VERIFICATION environment variable is set to true so that email verification is disabled, then a user.signup webhook should automatically be triggered along with the user.created webhook.

at the moment this does not happen and only one webhook is triggered/received which is just the user.signup webhook.
So the user.created webhook is not additionally detected when it should be.

Steps To Reproduce

create webhooks for both user.signup and user.created
set auth method to username and password
disable email verification
register a new user
observe that only the user.signup webhook is received

Expected behavior
both user.signup webhook and user.created webhook should be triggered

I am working on this feature.