How to Enable WeChat Login for External Portals (Standard Edition)
Bind a WeChat Official Account (Service Account only) at HAP > Organization Management > WeChat Official Account. The account name can be set arbitrarily. The Developer ID and Developer Secret are obtained from WeChat Official Account Backend > Settings & Development > Basic Configuration.

FAQ
1. Invalid IP Error

Add the prompted IP address to the IP whitelist at WeChat Official Account Backend > Settings & Development > Basic Configuration.

2. redirect_uri Domain Mismatch Error

Configure the web authorization domain at WeChat Official Account Backend > Settings & Development > Account Settings > Feature Settings.

Before setting the authorized domain, download the MP_verify_xxx.txt file and upload it to the server where HAP microservices are deployed (repeat for each microservice instance if multiple). After uploading, run the following command in the directory containing the file:
docker cp MP_verify_xxx.txt $(docker ps | grep -E 'hap-community|hap:' | awk '{print $1}'):/usr/local/MDPrivateDeployment/www/
