1. Open the link in WeChat, and apply for the public account: get your nickname and avatar, and click the Allow button. as shown in Figure 1
Figure 1
2. After the WeChat public account is authorized, the page may not be provided by WeChat, and WeChat cannot ensure the security of the content. If you want to continue to visit, please pay attention to protect your personal information. Click the Continue to access button and there is no response. as shown in Figure 2
Figure 2
3. Check the settings of the public account, and the website authorizes the domain name, there is no problem. as shown in Figure 3
Figure 3
4. Click on the upper right corner… to open it in the browser. as shown in Figure 4
Figure 4
5. Click the Continue to visit button in the browser, and the security warning will pop up. There is a problem with the security certificate of this website. Click Continue. as shown in Figure 5
Figure 5
6. The access in the browser is successful. as shown in Figure 6
Figure 6
7. Use WeChat to scan the QR code corresponding to the link. as shown in Figure 7
Figure 7
8. Open the blank after finding the code. But there is a corresponding request log in the nginx log. as shown in Figure 8
8
9. But there is a corresponding request log in the nginx log. The request URL is the value of redirect_uri. The response status code is 500. as shown in Figure 9
Figure 9
{"request":{"headers":{"referer":"-","host":"morefun.webtv.xxx.cn","x-request-id":"8f7867eafed70458126b8451fa701860","x-forwarded-for":"101.207.139.251","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36"},"method":"GET","uri":"/wechat/activities/?id=a4676e6e-acdd-4213-bb46-99fcb30327fd&group_id=3b592c75ee1974509679e28ec2b4fce4","url":"http://morefun.webtv.xxx.cn/wechat/activities/?id=a4676e6e-acdd-4213-bb46-99fcb30327fd&group_id=3b592c75ee1974509679e28ec2b4fce4","@timestamp":"2021-10-28T19:51:38+08:00","upstreamaddr":"127.0.0.1:9000","response":{"responsetime":"1.715","upstream_response_time":"1.714"},"size":"40924","status":"500","module_name":"default-app"}}
10. Open the jump URL directly in the browser, and the response is 500. The reason is that the code parameter is missing. As shown in Figure 10
Figure 10
12. JS interface security domain name, add: morefun.webtv.xxx.cn. as shown in Figure 11
Figure 11
13. Prioritize the problem of certificates, and replace the HTTPS protocol of redirect_uri with the http protocol. Click the Continue Access button to jump to the address of REDIRECT_URI. Remarks: The protocol in the link cannot be directly replaced here, and you need to enter from a new authorization. as shown in Figure 12
Figure 12
14. Use WeChat to scan the QR code corresponding to the link. After scanning the code, it can also be opened successfully, no longer blank.
15. Summary: After authorization of the WeChat public account, click the Continue to access button. The reason is that there is a problem with the security certificate of the website. If the certificate problem cannot be solved, you can replace the https protocol with the http protocol.
Leave a Reply