Skip to main content

How to Enable WeChat Login for External Portals (Platform Edition)

  1. Log in to WeChat Open Platform: https://open.weixin.qq.com/ (register and complete qualification verification if you don't have an account)

  2. Go to Management Center > Third-Party Platform, click Create Third-Party Platform, and fill in the information step by step as shown below.

  3. After submitting the information, continue to complete the profile.

  4. Under Development Configuration, add the required Official Account permissions as shown below.

  5. Edit the development profile and fill in the message and event reception URLs.

    Example: http://hap.domain.com/tpuser/app/authorize, http://hap.domain.com/tpuser/app/callback/$APPID$

  6. Download the verification file and upload it to the proxy server. Verify it is accessible at {HAP domain}/xxxxxx.txt.

  7. Continue editing the development profile and fill in other information.

  8. Generate the AppSecret as shown below.

  9. Provide the AppID, AppSecret, Message Verification Token, and Message Encryption Key from the above steps to the HAP integration team. Once HAP configuration is complete, go to the platform edition Organization Management > WeChat Official Account to bind the account. You can first test authorization using the Service Account filled in Step 6 above. After testing passes, submit for review to publish to all users. Once the review and publication are approved, other Service Accounts can also authorize.