ITPub博客

首页 > > > C# 微信授权获取不到code

C# 微信授权获取不到code

作者:fondtiger 时间:2019-11-07 10:42:11 0 删除 编辑

appid: wxa8354a25e136757a

redirect_uri: 8bbgx4.natappfree.cc/index.html

response_type: code

scope: snsapi_base

state: 123456

重定向到前端html 获取不到code

ess to XMLHttpRequest at 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxa8354a25e136757a&redirect_uri=8bbgx4.natappfree.cc/index.html&response_type=code&scope=snsapi_base&state=123456#wechat_redirect' (redirected from 'http://8bbgx4.natappfree.cc/BIMWX.asmx/OAuthRedirectUrl') from origin 'http://8bbgx4.natappfree.cc' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/2508/viewspace-3131319/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2019-09-29

  • 博文量
    122
  • 访问量
    13449