有谁做过微信登录?跨域怎么解决
return Socialite::with('weixin')->redirect();
结果提示XMLHttpRequest cannot load https://open.weixin.qq.com/...Origin 'http://distribution.weixin' is therefore not allowed access.
这样的错误,明显是存在跨域了。
我已经在测试帐号在设置了域名了,还是没效果。
推荐文章: