mikelax/forgingadventures

Implement Resend Verification Email on Settings Page

Closed this issue · 0 comments

Overview

On the Settings page, if the user's email is not verified, there is a button to resend the verification email. The button needs to be wired up, so when pressed it will call the appropriate Auth0 API to resend the verification email.

Requirements

The API to call is: POST /api/v2/jobs/verification-email

The schema for the body for the POST looks to be of the form (client_id can be left empty):

{
  "user_id": "google-oauth2|1234",
  "client_id": ""
}