Not able to get the jwt token through cookies

Hii all I'm trying to send the jwt token through cookies like first image .. Now I 'm trying to fetch the data after login as shown in second image.. Through postman everything is working out but from fetch it's saying unauthorized.. after debugging I found out that cookie is not reaching there.. Can anyone help here?
Screenshot_2023-07-08_at_9.03.41_PM.png
Screenshot_2023-07-08_at_9.06.06_PM.png
Was this page helpful?