天道酬勤,学无止境

third-party-cookies

Can third-party / cross-domain cookies be accessed / read by Javascript?

Can Javascript access cookies created from another domain? Please read the whole question, as I'm sure it covers the basic suggestions. My project configuration is set as follows: Domains: front-end: "https://front.domainA.com" // AWS Amplify, React back-end: "https://back.domainB.com" // AWS Amplify, Express.js CORS (on server.js): origin: "https://front.domainA.com", credentials: true, optionsSuccessStatus: 200, CORS (Amplify API console, hits this before server.js CORS): "method.response.header.Access-Control-Allow-Methods": "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'", "method.response

2021-06-12 03:10:23    分类:问答    javascript   cookies   cross-domain   aws-amplify   third-party-cookies