#!/usr/bin/env bash
set -euo pipefail
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
# shellcheck source=../lib/common.sh
source "${ROOT}/lib/common.sh"

# Set TOKEN query param from your verification email link.
require_env VERIFY_TOKEN

curl_get "/verify-email?token=${VERIFY_TOKEN}&callbackURL=http%3A%2F%2Flocalhost%3A3000%2F" | pretty
