Skip to main content

Verify Email

This node is used to verify the email of a user. When this action is performed successfully the emailVerified property of the User will be set to true. You can use this property to enable or disable certain parts of your application. This node will need two things to successfully verify the user email, the Username and a secret Token that should be delivered to your user when they sign up or via the Send Email Verification action node.

Generally your application should have a specific email verification page that is linked to from the verification email, the username and token should be provided as query parameters to the page. Once you have hooked that up you need to trigger the Do action, preferably when the page loads via the Did Mount signal.

Inputs

SignalDescription
DoSend a signal to this action to attempt to verify the email for the provided username and token.
DataDescription
UsernameThe username that this action will attempt to verify the email for.
TokenThe secret token needed to verify the email.

Outputs

SignalDescription
SuccessThe email was successfully verified.
FailureThis event will be triggered if something when wrong when trying to verify the email. The error message can be found in the Error output.
DataDescription
ErrorThis output will contain the error message if the action failed.