How to Enable WeCom Integration (Platform Edition)
-
Log in to the WeCom Service Provider Console: https://open.work.weixin.qq.com (register and complete qualification verification if you don't have an account)
-
Go to the Service Provider Info page and configure the IP whitelist (all public IPs of servers where HAP microservices are deployed).

-
Go to App Management > Login Authorization.
Add the Login Authorization Initiation Domain (HAP system access domain).

Add the Authorization Completion Callback Domain (HAP system access domain). When adding the callback domain, domain ownership verification is required. Download the provided
.txtverification file and coordinate with the HAP team to complete the configuration. Verify it is accessible at{HAP domain}/WW_verify_xxxxxx.txt.
-
Go to App Management > General Development Parameters.
noteSystem Event Receiving URL,Token, andEncodingAESKeyare provided by HAP.After configuration, provide the
CorpIDandProviderSecretto HAP. -
Go to App Management > Custom Development > Create Custom Development App Template.

-
Configure basic info: set the template logo, name, description, etc.

-
Configure development info.
noteCustom Development Template Callback URL,Token, andEncodingAESKeyare provided by HAP.After configuration, view the app template info and provide the
Template Name,Template ID, andTemplate Secretto HAP.
-
-
Go to App Management > Custom Development App Launch > Submit for Launch. Submit the created custom development template for launch. Once approved, enterprise admins can scan the template authorization QR code to begin custom development.
