bradtraversy / proshop-v2

ProShop ecommerce website built with MERN & Redux Toolkit
580 stars 301 forks source link

Cannot see jwt in Application/Cookies but when download brads repository I can #25

Closed KristijanStosic closed 12 months ago

KristijanStosic commented 12 months ago

When I login it goes through, i also see my user in localStorage and redux store, on the backend it also sets cookie and middleware also works, but somehow when i login or register on frontend and i go into Application/Cookies/localhost:3000 I dont see my jwt cookie? Any explanation or fix? ( i am using vite) Screenshot_4 Screenshot_3 Screenshot_2 Screenshot_1

bushblade commented 12 months ago

Hi @KristijanStosic. While that is strange (you should indeed see the cookie), this doesn't appear to be an issue with the repository code that I can reproduce. You mention you are using Vite, so this must be your own project? I'll close as an issue here in Brads repository as it doesn't seem related to the code here. If you are a student of Brads then please post in the course Q&A or Brads Discord server.