casa icon indicating copy to clipboard operation
casa copied to clipboard

Endpoint /api/v1/users/validate checks if access and refresh token received matches database

Open 7riumph opened this issue 9 months ago • 3 comments

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/validate post route to api/v1/ ( /api/v1/users/validate )
  • [ ] Hashes then compares received access token and refresh token to value stored in database digests ( access_token_digestand refresh_token_digest )
  • [ ] Returns boolean, true or false, based on validity in response

Helpful Links

API Folder Structure

7riumph avatar Mar 17 '25 04:03 7riumph

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

github-actions[bot] avatar Apr 11 '25 00:04 github-actions[bot]

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.

github-actions[bot] avatar Apr 16 '25 00:04 github-actions[bot]

This issue has been open without changes for a long time! What's up?

github-actions[bot] avatar Jun 15 '25 02:06 github-actions[bot]