hagopj13 / hagopj13/node-express-boilerplate
It adds new refresh token when another token already exist for logged in user
Open
- Dominant language
- JavaScript
- Stars
- 7.7k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
I have hit the login API 10-15 times. All the times it creates new refresh token under tokens database. This bug should be solved as well as the #267 issue.
Contributor guide
Research direction
Start at the login API and inspect how refresh tokens are stored in the tokens database. Compare the behavior with issue #267. Done means repeated logins no longer create duplicate refresh-token records for the same logged-in user, with coverage for that case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- express, javascript, mongodb, node.js
- Domain
- api, authentication, backend, database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100