Cookies on Phone

Iheb jendoubi 40 Reputation points
2023-09-22T19:16:48.7933333+00:00

i'am developing a mern stack application . when the user succesfully login , there's a token stored in cookies.

when i'am using my laptop i could always fetch the token stored in the cookies , but when i use my iphone i cannot fetch the cookies ! the following are the two response :

laptop : {ARRAffinitySameSite: 'bdf69ded76030157981e3c888d57ddb2107a85827b1c655be90a06e6c38e830e',token: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2NDc1MTMxNTc1ZDczODIyODlhMmUwMzQiLCJpYXQiOjE2OTU0MDgxMzMsImV4cCI6MTY5NzEzNjEzM30.N_Xl0OpYJGermzLJpNoiC2c5tCctFcgL0oi6mAJTDRw'}

my iphone : when i console.log(req.cookies) i get this in my log stream of the app service[Object: null prototype] {}

so what's the problem?

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
969 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.