Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于Access——toekn #368

Closed
104260033 opened this issue Mar 29, 2016 · 7 comments
Closed

关于Access——toekn #368

104260033 opened this issue Mar 29, 2016 · 7 comments

Comments

@104260033
Copy link

我用的环境

PHP 版本:
overtrue/wechat 版本:

问题及现象

描述你的问题现象,报错贴截图粘贴或者贴具体信息

@104260033
Copy link
Author

access_token 过期问题,现在是access_toekn过期不会自动去请求刷新,需要认为的删除session

@overtrue
Copy link
Collaborator

@104260033 请证明它没有去自动刷新。我在 SDK 里有这个逻辑。

@104260033
Copy link
Author

能告诉我下在哪里嘛,我现在发现会这样

@overtrue
Copy link
Collaborator

@104260033
Copy link
Author

谢谢,我查看下

@104260033
Copy link
Author

            if (!$this->accessToken) {
                return $handler($request, $options);
            }看到这里就是从新注册的对嘛

但是有个问题,现在accessToken 过期,$this->accessToken 也能获取到,所以就不会进去更新

@overtrue
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants