How to resend email verification link from frontend(react)

can somebody please help me with how to resend email verification from front end in React?

There should be a webpage template that is displayed in case of an expired token. That should give you a hint. The link triggers another email to be sent.

2 Likes

Here is how to do it:

      const response = await fetch(
        `${process.env.NEXT_PUBLIC_SERVER_URL}/parse/apps/${process.env.NEXT_PUBLIC_APP_ID}/resend_verification_email`,
        {
          method: "POST",
          headers: { "Content-Type": "application/json" },
          body: JSON.stringify({ username: fallbackUser.email }),
        }
      );