Re: Comment on minutes ## With Credentials flag etc
Tim Berners-Lee <[email protected]> Tue, 19 Jan 2016 10:31:34 +0000
| Newsgroups | gmane.org.w3c.tag |
|---|---|
| Message-ID | <[email protected]> |
Here is an example of this issue in the field as captured from a genuine live overheard conversation on a gitter channel. csarvenJan 14 22:00 @deiu / @nicola / all.. Could someone please try to help me figure this out: Go to https://dokie.li/ <https://dokie.li/> and 'Sign in' (from the menu at the top right corner) using your WebID in both Firefox and Chrome/ium. Keep the dev console window open and see if you get a 401 on your preferences URL in either one of those browsers. If your prefs is at databox.me that might help understand better. I am able to authenticate (using http and https WebIDs), however when it (simplerdf) tries to get the prefs, Firefox gives me a 401, and Chrome is a 200. The header requests appear to be exactly the same in both browsers. csarvenJan 14 22:14 In Firefox, I am able GET the prefs in a different tab (for both of the WebID's prefs which are at databox). So I'm suspecting that the issue is closer to SimpleRDF's request in Firefox somehow. deiuJan 14 22:15 Are you using withCredentials = true flag in your ajax request? csarvenJan 14 22:16 I was just going to say that.. SimpleRDF doesn't. deiuJan 14 22:16 It should csarvenJan 14 22:16 Right.. I thought so: rdf-ext/rdf-ext#52 timbl09:28 ... timbl09:35 This is exactly the issue the TAG were mulling over in my absence in Melbourne. The problem is the library simpleRDF is screwed either way — if it doesn’t set the flag then you don’t get to authenticate, if it does set it then the borwser blocks access to resources with a wildcard CORS header. <>
signature.asc
(application/pgp-signature, 841 B)
-----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJWnhCOAAoJEEzR7xIdc96F/fwP/j/hADQ3inNnUVKcLXIl2Ber kmaDgRO6+AZNrAuxugNiOJg0EjvpspOcRuVrQMB70Ju2IWp8RFmXghxMtywj0ysc 0+CLSMPsKfrocR1nrt/emrQ8Dnuv6WNWonMc08hEoYZidEEsSc/Rtvfn2uh8TtNg DC04uClEsky4Lz/keir90XbSddhDuGvcDpgrXtIrtxP358vPb8aorYvTDlxrNpGv UmGPo06wvVAmbFKa7oq2D1q9uftRXOtMK1HYuYFyfQucx+o8QQ5+Asp26nyIsVDL yNgrSo4NN2+OMJDuhArsTX6MUIPpQ2wQQ1A4Y/HIw5JFShvRlaZpFsHNLpTTou/E BDnmul+6W23lBG0BR3mj7nh5I+3Tm8XnCEi+QBg9qaBubr1unL2TpCfz7g245s1o lpjQVAd70A2pvZZTSrS9mgEevWwFcHNCDuvtLojemLymxE+cUFrOGd6UWQyRVYm+ TC9z/xg07MX+zNnrdgtoIvPR3xnJSc6Qr36HcDqBU+7RCsVct7qgCe0P13c31cRn /jcWKqSED/PLWKw4HxYgfSurivTGwczKbb60P86tAwB7Ic1dWLLW42kJQyti0iZN 7Mu056cJwkFAPJm8xNA0reGaB+7xCAPXlTfb9pYYqfctXxT3DuM7cu5mUuD8zM07 VHxl4t923hTplPociSQz =xBvR -----END PGP SIGNATURE-----