hagopj13 / hagopj13/node-express-boilerplate

Email verification and reset password links don't work

Open
#172 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.7k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

I'm trying to test user creation and reset password workflow.
It seems that email verification link in the email and reset password link don't work.

When I create user via api _/auth/register_ and then invoke _/auth/send-verification-email_ I got the following email:
Screen Shot 2022-01-24 at 9 48 25 AM

The link is not clickable and it should point to local instead (or any other hostname provided in configuration).

Same for reset password, when I invoke _/auth/forgot-password_ api call with specified email address I got the following email:

Screen Shot 2022-01-24 at 9 49 15 AM

Contributor guide

Open the contributing guide

Research direction

Start with the /auth/register, /auth/send-verification-email, and /auth/forgot-password entry points and inspect how their emails build links from configuration. Reproduce both workflows locally and verify that each generated link is clickable and uses the configured hostname rather than an invalid or missing one.

Written by the indexing model from the issue text.

Assessment

Tech stack
express, javascript, node.js
Domain
api, authentication, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.