when using springsecurity oauth to socially bind qq and Wechat, POST requests address: / connect/qq Times error, how to solve it?
//type = "qq"
gotoBind(type){
let url = `${this.$url}/connect/${type}`;
axios({
method: "post",
url: url
});
},
Failed to load https://graph.qq.com/oauth2.0/authorize?client_id=101492493&response_type=code&redirect_uri=https%3A%2F%2Fapi.xfindzp.com%2Fconnect%2Fqq&state=0a227fcc-fc98-49bf-8ccd-de30996dd223: Response to preflight request doesn"t pass access control check: No "Access-Control-Allow-Origin" header is present on the requested resource. Origin "null" is therefore not allowed access.
createError.js?16d0:16 Uncaught (in promise) Error: Network Error
at createError (createError.js?16d0:16)
at XMLHttpRequest.handleError (xhr.js?ec6c:87)