mikelax / forgingadventures

0 stars 0 forks source link

Implement Resend Verification Email on Settings Page #144

Closed mikelax closed 6 years ago

mikelax commented 6 years ago

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": ""
}