LJOSC / checkmark-backend

CheckMark Backend: The Backbone of Task Tracking
Other
5 stars 11 forks source link

Route validations failing #50

Closed HarshDobariya79 closed 3 months ago

HarshDobariya79 commented 3 months ago

Description

Steps to Reproduce

Send refresh access token request on /user/refresh-access-token route with valid refresh token in the cookies. All other routes are affected which expects refresh token in the request body.

Expected Behavior

The request should be able to send the new access token if a valid refresh token is present in the cookies.

Actual Behavior

The validation fails, because the refresh token is present in the cookies and not in the body.