关于授权公众号authorizer_refresh_token过期问题
发布于 6 年前 作者 xiulanye 18245 次浏览 来自 问答

授权的公众号每次去拿authorizer_access_token的时候都会重置authorizer_refresh_token的过期时间吗?长时间不更新授权公众号的authorizer_access_token就会导致authorizer_refresh_token失效嘛?

2 回复

我遇到过好几次,本来授权的好好的,突然就不能用了,检查原因是刷新token无效:{“errcode”:61023,“errmsg”:“refresh_token is invalid hint: [ZYr3MA09552029]”},想知道什么情况下会出现这种情况?这样我也可以友好的提示用户重新授权,突然不能用了就很尴尬还要被老板骂。

文档很清楚了:

https://open.weixin.qq.com/cgi-bin/showdocument?action=dir_list&t=resource/res_list&verify=1&id=open1453779503&token=04339abfc6876e3e566810a30c5d35fd7a5e604a&lang=zh_CN

刷新access_token接口返回数据:

authorizer_refresh_token没有有效期,每次刷新后会更新authorizer_refresh_token以及有效期

回到顶部