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

企业oauth方法报错:No suite_ticket found. #480

Open
season886 opened this issue Nov 22, 2023 · 0 comments
Open

企业oauth方法报错:No suite_ticket found. #480

season886 opened this issue Nov 22, 2023 · 0 comments

Comments

@season886
Copy link

$oauth = EasyWeChat::openWork()->getCorpOAuth('ww1b7e6caXXXXXXX');
$oauth->withAgentId('1000031');
return $oauth->redirect('http://auth.XXXX.com/admin/callback');

但是我用官网那个URL,自己组装成一个URL,重定向是正常的!

按理我在配置文件里配置了,getCorpOAuth参数不应该再次输入了

第一句就抛出异常:No suite_ticket found.

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

1 participant