This signup form with risk-based and custom API includes:
- An initial step that requires the full name, email and password.
- An invisible reCAPTCHA widget that issues a score based on suspicious activity.
- A flow that checks the reCAPTCHA v3 score, the highest score is of 0.9.
- If the score is less than or equal to 0.5, it generates an OTP via email and requires the verification code before creating the account.
- If the score is greater than 0.5, it creates the account and issues a token to automatically log the user in.