hagopj13 / hagopj13/node-express-boilerplate
Error: No auth token when trying to send a verification email
- Dominant language
- JavaScript
- Stars
- 7.7k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
after registering and login successfully, when i tried to send a verification email link, i can't because i must authenticate even though i have signed up and when i try to protect a route with the auth() middleware i get an Error: No auth token at JwtStrategy.authenticate

Contributor guide
Research direction
Start by reproducing the registration, login, verification-email request, and protected-route flows described in the issue, then trace the auth() middleware and JwtStrategy.authenticate path. Done means authenticated users can request a verification email and access protected routes without the reported “No auth token” error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- express, javascript, mongodb, node.js
- Domain
- api, authentication, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100