Closed GoogleCodeExporter closed 8 years ago
Have you set "withCredentials" to be true?
https://developers.google.com/cast/docs/reference/player/cast.player.api.Request
Info#withCredentials
Original comment by and...@google.com
on 17 Nov 2014 at 11:02
Yes I have set withCrendentials=true, but it won't resolve the issue that the
cookie isn't being saved.
The issue can be replicated by doing a xhr request from the chromecast
development console, or inserting the same custom xhr request logic to resource
loaded by the custom receiver. Network requests can be seen in the development
console, but no set-cookie headers are shown, and the cookies won't be send if
doing sequential requests.
var xhr = new XMLHttpRequest()
xhr.open( 'GET', 'http://test.bar', true)
xhr.withCredentials = true
xhr.onreadystatechange = function() {
console.log( xhr.status, xhr.statusText )
}
xhr.send()
Chromecast firmware: 22062
Original comment by lyyti...@gmail.com
on 18 Nov 2014 at 8:51
Do you have a repro page that works in desktop Chrome, but not in Chromecast?
If so, please share it so that we can investigate it.
Original comment by vadi...@google.com
on 19 Nov 2014 at 5:29
Closed due to lack of response
Original comment by anad...@google.com
on 5 Dec 2014 at 5:42
Original issue reported on code.google.com by
lyyti...@gmail.com
on 13 Nov 2014 at 11:49