Auth error causing infinite loop

Hello Community,

I’m using Require Email Verification Version 1.3 from Auth0 from the Marketplace in the Post Login trigger. When a user signs up, the verification email isn’t being sent. However, the main issue is that the Auth0 React SDK redirects the user to an error page, resulting in an infinite loop to the following URL when ‘state’ parameter is changing every attempt:

http://localhost:3000/?error=access_denied&error_description=Please%20verify%20your%20email%20before%20continuing.&state=NThZNVNwR3NaUHQzNkRWY0JfV1hTVXhJTEhCcTdURXg5WVRUektoU1FLag%3D%3D

When I open Monitoring tab I see:

callback URI parameter in app settings is: http://localhost:3000
let me know if you need any extra information in order to help me.
Really need this help. thanks in advance.

Hi,

Please check if the verification email template is enabled. If it is enabled, ensure that the verify_email field is set to true when creating a user, so that Auth0 will trigger the verification email. The error is occurring because the email has not been verified.

If you are creating from Auth0 Dashboard Auth0 will trigger verification email as default.