Cross-Domain Ajax Requests WSO2 IS

前端 未结 2 1550
梦如初夏
梦如初夏 2021-01-24 06:46
curl -v -X POST -H \"Authorization: Basic \" -k -d \"grant_type=password&username=&password=&         


        
2条回答
  •  清酒与你
    2021-01-24 07:24

    This is the expected behaviour when cross origin resource sharing (CORS) is not enabled on Identity Server. In fact you can enable CORS for Identity Server. Check [1] on how to do it.

    [1] http://hasanthipurnima.blogspot.com/2016/05/applying-cors-filter-to-wso2-identity.html

提交回复
热议问题