like ACCESS-CONTROL-ALLOW-ORIGIN.
If domain2.com sets those headers,
Then document.cookie in current domin will execute successfully without any CORS error?
maybe you could sign a jwt and pass it to domain2 as a query. domain2 will read the query and set the cookies accordingly
Sorry Can you please elaborate if possible?
like you can ask a server to generate a token to be passed to domain2. and when you open domain2, pass that token as query like: domain2.com/?token=something. then server for domain2 can look up the information associated with "something"
Обсуждают сегодня