cross origin problems with extjs 6.01

前端 未结 3 1534
一生所求
一生所求 2020-12-22 09:46

I\'m using a POST form to login on my backend which works without any problem. The backend accepts all locations (*)

After I login, I\'m ready to get some data and t

3条回答
  •  借酒劲吻你
    2020-12-22 10:41

    We solved this issue:

    • installed corsEverywhere firefox plugin to simulate an accepted cors so we could compare settings with/without simulation:

    • Access-Control-Allow-Credentials true wasn't set at the server. ( cookie authentication )

    • server ( Microsoft-IIS/7.5 ) didn't like * so we set remote site name explicit
    • removed trailing / in sitename

    works

提交回复
热议问题