I got an issue when fetching GET auth API /store/auth and I did realize that the req,session.jwt_store did not exist after I had POST /store/auth - ref: create-session.ts . This only happpens in browser but not in Postman. I try to log these 2 request to /store/ after I has logged in and this is for Postman:
sessionID: 'fY3QD8sRgEnFLuLG8Or6-GwJ-hT39R3P',
session: Session {
cookie: {
path: '/',
_expires: 2023-01-17T19:47:49.991Z,
originalMaxAge: 36000000,
httpOnly: true,
secure: false,
sameSite: false
},
jwt_store: '<my jwt>'
},
The browser:
sessionID: 'R370eBvqFAqVk_D-9tCZK1Fp2hQkJkRo',
session: Session {
cookie: {
path: '/',
_expires: 2023-01-17T19:50:07.389Z,
originalMaxAge: 36000000,
httpOnly: true,
sameSite: false,
secure: false
}
},