The problem of authorizing a third party on the official account of Wechat

now the official account is authorized to a third party, and the administrator only needs to scan a QR code to complete the authorization.

how is this implemented, and it is not found in the developer documentation-

Apr.16,2022

can only guess:
1. First, parse his QR code picture into url
http://mp.weixin.qq.com/wap/l...
111111*, which is a 32-bit uuid
2. Then take a look at the network

of the web page.

clipboard.png
will do this. I have been requesting backstage requests every 2 seconds, 200
3. Requests appear to be in mod+act+data mode;
4. So it is estimated that the administrator scans the code to request the Wechat backend with this uuid, and marks the authorization in the database or file system at the same time; then the client will keep requesting, and if it is not authorized, the request will be repeated every 1 second or 2 seconds until the backend returns with authorization, so continue the front-end steps. It seems that the client side is authorized as soon as the administrator scans the code

Menu