NomisCZ If I have time, I could try to fix it / create new extension (rewrite some "bad things"), but it looks like "country restricted thing", so maybe I won't be able to test it.
NomisCZ yhuchs I created new extension, but I can't verify that it works properly (WeChat developer account verification is *** thing ...), so you can try it composer require nomiscz/flarum-ext-auth-wechat:dev-master. If everything works, I would publish it. Please test it 🙂
Littlegolden NomisCZ Well, individual developers cannot apply for a secret key. . . A business license or 300 CNY is required. . .
yhuchs NomisCZ ok,thx. callback url Tips:Wrong scope parameter or no scope permission Official documents:https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/Wechat_webpage_authorization.html Another request, Can I bind or unbind wechat account in personal center?
Littlegolden yhuchs Shouldn't you use "open platform" documentation instead of "official account" documentation?
yhuchs Littlegolden Thank you for reminding me. I'll try again. It will take a little time to apply for appid.
yhuchs @NomisCZ redirect_uri Parameter error The correct API app ID and API app secret have been entered. Is the callback URL missing?
NomisCZ yhuchs It might help http://www.programmersought.com/article/69151622340/ Answer to an older question: I can add bin/unbind feature, but first I need to know that the extension works.
yhuchs NomisCZ The previous step has been solved, and the login QR code is also displayed. But this problem appears after confirming the code scanning. Error loading page, please check console. https://www.yourdomain.com/auth/wechat?code=021EgUl714GMNO1ONvm718UVl71EgUlJ&state=4b29d599cee690dd2d1351039010f1d1#wechat_redirect I think it's probably a matter of extension.
NomisCZ yhuchs What do you mean with this part of the code? It's bad that I can't test it in on my forum, because people outside China can't apply for appid 😕. Any ideas?