External validation of users on registration
dan last edited by joshua
Can we do an external validation when a user registers in FusionAuth?
For example, if firstname.lastname@example.org wants to register, can we first check with an endpoint in our API if this email is being used?
Is there is a way that we can use this endpoint to block that registration?
dan last edited by
You can use the
user.createor the u
ser.registration.createwebhook to do something like this.
If you enable these webhooks and configure the transaction to require the webhook to succeed, then you simply need to return a non-200 status code from the webhook to cause FusionAuth to fail this create.