cors jquery withCredentials cookie -
client:
$.support.cors = true; // ajax option beforesend: function (xhr) { xhr.withcredentials = true; xhr.setrequestheader("authorization", "bearer " + base.accesstoken); } i use "fiddler" , catch request, shows no cookie included.
authn server has set cookie.
actually, preflight requests won't sent cookie, it's used check wteather server api support cors. maybe can close authentication of server options methods
Comments
Post a Comment