- set up your own corp id and corp secret in env.php
- launch your server in your prayers
see jsapi.php and public/javascripts/demo.js
see demo.js
http://open.dingtalk.com/#4-回调接口(分为三个回调类型)
- suite ticket push
- temporary auth code push
- auth change event
see receive.php
http://open.dingtalk.com/#5-获取套件访问token(suite_access_token)
see isv.php
- Q: {"message" : "权限校验失败", "errorCode" : 3}
- A: Make sure getCurrentUrl() in Auth.php returns the correct url