You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever a request is made to /api/projects/wishlist/, a 401 Unauthorized error is returned. This seems to be caused by the authentication token not being properly sent or recognized by the backend.
Steps to Reproduce:
Navigate to the Wishlist page on the frontend.
The frontend attempts to send a GET request to /api/projects/wishlist/.
The backend responds with a 401 Unauthorized error.
Expected Behavior: The request should send the JWT token stored in cookies, authenticate the user, and return the appropriate response (wishlist data).
Actual Behavior:
The request fails with a 401 Unauthorized error. It seems that the JWT token is either missing from the request or not being processed correctly on the backend.
Additional Context:
The frontend uses Axios to make the request with withCredentials enabled, but the token might not be sent due to the cookie being HttpOnly (just a guess) .
CORS and credentials settings have been configured on the backend.
The text was updated successfully, but these errors were encountered:
Whenever a request is made to /api/projects/wishlist/, a 401 Unauthorized error is returned. This seems to be caused by the authentication token not being properly sent or recognized by the backend.
Steps to Reproduce:
Navigate to the Wishlist page on the frontend.
The frontend attempts to send a GET request to /api/projects/wishlist/.
The backend responds with a 401 Unauthorized error.
Expected Behavior: The request should send the JWT token stored in cookies, authenticate the user, and return the appropriate response (wishlist data).
Actual Behavior:
The request fails with a 401 Unauthorized error. It seems that the JWT token is either missing from the request or not being processed correctly on the backend.
Additional Context:
The frontend uses Axios to make the request with withCredentials enabled, but the token might not be sent due to the cookie being HttpOnly (just a guess) .
CORS and credentials settings have been configured on the backend.
The text was updated successfully, but these errors were encountered: