最新消息:20210917 已从crifan.com换到crifan.org

[未解决]微信授权页面跳转后无响应

WeiXin crifan 4559浏览 0评论

Flask的应用中,android手机端,(iOS端的微信没遇到这个问题)

已经实现了微信的授权获取信息,但是经常遇到

跳转到对应的链接:

https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx9xxxxxxxxxxxxxxd&redirect_uri=http%3A//hd.webonn.com/wechat_auth%3FnextRedirectUrl%3Dhttp%253A//hd.webonn.com/creat_event&response_type=code&scope=snsapi_userinfo&state=#wechat_redirect

但是没有返回了。

不响应了。

对应的log:

DEBUG in views [/root/html/SIPEvents/sipevents/views.py:777]:
redirectUri=http://hd.webonn.com/wechat_auth?nextRedirectUrl=http%3A//hd.webonn.com/creat_event, authorizeUrl=https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx9xxxxxxxxxxxxxxd&redirect_uri=http%3A//hd.webonn.com/wechat_auth%3FnextRedirectUrl%3Dhttp%253A//hd.webonn.com/creat_event&response_type=code&scope=snsapi_userinfo&state=#wechat_redirect

<div–<——————————————————————————

<div–<——————————————————————————

INFO in views [/root/html/SIPEvents/sipevents/views.py:780]:
for wechat auth, redirect to https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx9xxxxxxxxxxxxxxd&redirect_uri=http%3A//hd.webonn.com/wechat_auth%3FnextRedirectUrl%3Dhttp%253A//hd.webonn.com/creat_event&response_type=code&scope=snsapi_userinfo&state=#wechat_redirect

<div–<——————————————————————————

微信 connect/oauth2/authorize 不返回

微信 connect/oauth2/authorize 没有反应

如何调用微信基础授权实现无登录交互

微信 wechat_redirect 无返回

微信 授权 跳转 无返回

去单独打开:

https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx9xxxxxxxxxxxxxxd&redirect_uri=http%3A//hd.webonn.com/wechat_auth%3FnextRedirectUrl%3Dhttp%253A//hd.webonn.com/creat_event&response_type=code&scope=snsapi_userinfo&state=&connect_redirect=1#wechat_redirect

(PC端浏览器打开会显示:

请在微信客户端打开链接

结果用微信打开后,看到:

近期你已经授权登录过简道工作台,自动登录中

但是:

对于Flask中,使用:

redirect这个url,结果却始终无响应。

另外,等

近期你已经授权登录过简道工作台,自动登录中

界面消失后,虽然进去了对应的创建活动的页面,结果也是页面中有异常:时间选择的控件无法工作-》正常的话,是可以工作的。

近期你已经授权登录过 自动登录中

微信,weixin,第二次授权,出现“近期你已经授权登录过”-微信开发问答-微信开发者平台,微信开发者社区,微信公众号

很简单,当用户进到页面以后首先用静默授权接口 这个只能获取到openid,openid不存在数据库的时候跳转到授权页面,把授权得到的字段存到数据库,下一次访问直接静默授权 通过openid 获取数据库用户数据

-》我之前也是想这么干的。暂时还没去这么干。

openid-微信授权提示 ”近期你已经授权登陆过XXXXX 自动登录中“,如何不让这句话出来——CSDN问答频道

微信网页授权,近期你已经授权登陆过 XXX 自动登录中 – V2EX

iOS 微信授权 {"errcode":40029,"errmsg":"invalid code, hints: [ req_id: o6gUEA0911ns18 ]"} · Issue #95 · xu-li/cordova-plugin-wechat

微信公众平台 – 网页授权获取微信用户信息错误40029:不合法的oauth_code – SegmentFault

“我是这样处理的,重新授权登录一次,redirect_uri加个参数?no=随机数”

-》要不自己也去在最后的末尾,加上试试?

结果试了几次,也还是不行:

for wechat auth, redirect to https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx9xxxxxxxxxxxxxxd&redirect_uri=http%3A//hd.webonn.com/wechat_auth%3FnextRedirectUrl%3Dhttp%253A//hd.webonn.com/creat_event&response_type=code&scope=snsapi_userinfo&state=#wechat_redirect&no=6717248903
for wechat auth, redirect to https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx9xxxxxxxxxxxxxxd&redirect_uri=http%3A//hd.webonn.com/wechat_auth%3FnextRedirectUrl%3Dhttp%253A//hd.webonn.com/creat_event&response_type=code&scope=snsapi_userinfo&state=#wechat_redirect&no=686231884362
for wechat auth, redirect to https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx9xxxxxxxxxxxxxxd&redirect_uri=http%3A//hd.webonn.com/wechat_auth%3FnextRedirectUrl%3Dhttp%253A//hd.webonn.com/creat_event&response_type=code&scope=snsapi_userinfo&state=#wechat_redirect&no=000697274679

还是不能跳转回来。

微信开发 – 微信网页授权登陆,第一次用户授权后,用户再次进入页面时,如何判断已经授权过了 – SegmentFault

微信授权登录问题 – BUG提交 – Mob官方论坛

微信无法绑定账号! – 仙境传说Ro – 普隆德拉酒馆 – 心动游戏 官方论坛

用X5调试页面,清空了

Cookie

文件缓存

广告过滤缓存

DNS缓存

看看是否有效果。

转载请注明:在路上 » [未解决]微信授权页面跳转后无响应

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
93 queries in 0.183 seconds, using 23.32MB memory