Endpoint /api/v1/users/validate checks if access and refresh token received matches database
Part of epic #3942
What type of user does this affect?
- volunteers
How should it operate? ⚙️🛠️
There should now be an api/v1/users/validateroute that receives an access and refresh token, then checks validity.
Acceptance Criteria
- [ ] Adds
users/validatepost route toapi/v1/( /api/v1/users/validate ) - [ ] Hashes then compares received
access tokenandrefresh tokento value stored in database digests (access_token_digestandrefresh_token_digest) - [ ] Returns boolean,
trueorfalse, based on validity in response
Helpful Links
This issue has been inactive for 247 hours (10.29 days) and will be unassigned after 113 more hours (4.71 days). If you have questions, please
If you are still working on this, comment here to tell the bot to give you more time
This issue has been inactive for 367 hours (15.29 days) and is past the limit of 360 hours (15.00 days) so is being unassigned.You’ve just been unassigned from this ticket due to inactivity – but feel free to pick it back up (or a new one!) in the future! Thank you again for your contribution to this project.
This issue has been open without changes for a long time! What's up?