GenAuth DocsDocuments
Concepts
User Guide
Development Integration
Metadata
Development Integration
Multi-tenant (beta)
Console Documentation
Multi-tenant Console
Tenant Console
Saas Application Demo
Concepts
User Guide
Development Integration
Metadata
Development Integration
Multi-tenant (beta)
Console Documentation
Multi-tenant Console
Tenant Console
Saas Application Demo
Old version
User Guide
  • Quick Start

  • Authentication

  • Access Control

  • Authorization

  • Adaptive MFA

  • User Account Management

  • User Directory Management

  • Applications

  • Become a Federation Authentication Identity Provider

  • Connect External Identity Providers (IdP)

  • WeChat Ecosystem Full Scenario Capabilities

    • When Developing with WeChat Mobile Apps
    • When Developing with WeChat Web Apps
    • When Developing with WeChat Official Accounts
    • When Developing with WeChat Mini Programs
  • Migrate Users to GenAuth

  • Security Settings

  • Branding

  • Automation

  • Audit Logs

  • Setting

  • FAQ

  1. User Guide
  2. /
  3. WeChat Ecosystem Full Scenario Capabilities
  4. /
  5. When Developing with WeChat Official Accounts

¶ When you use WeChat official account for development

Update time: 2025-04-11 11:21:15
Edit

¶ WeChat Open Platform preparation

¶ Register WeChat Open Platform account

Before developing WeChat ecosystem applications, you must first register as a developer of WeChat Open Platform. If you do not have a WeChat Open Platform account, please go to register (opens new window).

¶ Apply for developer qualification certification

After completing the WeChat Open Platform account registration, you need to fill in the developer qualification certification application in Account Center and wait for the certification to pass.

¶ Launch your WeChat public account

¶ Step 1: Create a WeChat public account

  1. Before creating a public account, you need to register an account on the WeChat public platform (opens new window) and select the type as Subscription account / Service account.
  1. Fill in "Basic Information", "Select Type", "Information Registration", and "Public Account Information" in turn to complete the registration.
  1. After successful registration, the public account is created successfully.

¶ Step 2: Bind WeChat public account

After creating a public account, you need to bind the public account on the WeChat Open Platform to ensure that you have a unique UnionID when logging into different applications under the same WeChat Open Platform account. ​

  1. After logging in to your WeChat Open Platform (opens new window), click Bind Public Account under Admin Center->Public Account.
  1. Complete "Enter basic information", "Security verification", and "Bind successfully" in sequence.

¶ Implement WeChat login capability in GenAuth

¶ Developer scenarios using WeChat login

You want to implement the WeChat login capability on the web by creating a WeChat application. According to the above steps, you have completed the creation of the WeChat application. Next, you don't have to read a lot of complicated WeChat documents, but can directly implement WeChat login for your application through GenAuth "zero code" method.

¶ Choose the appropriate WeChat login method

In the development scenario of "WeChat public account", GenAuth supports WeChat public account follow login capability.

¶ Configuration process

To configure WeChat official account login, follow the process below:

¶ Step 1: Integrate the application that needs to configure WeChat login in GenAuth

Currently, only web applications support WeChat official account login. Please refer to Connect your application to GenAuth.

¶ Step 2: Create WeChat login in your GenAuth user pool

GenAuth supports 20+ third-party account login methods. You can view all identity sources supported by GenAuth in Connecting external identity sources (Identity Provider).

Configure WeChat official account follow login:

WeChat official account login allows your users to use WeChat identity to securely log in to the mini program. Display the WeChat public account QR code on the PC website, scan the code with WeChat APP, and follow the public account to achieve automatic login. For the configuration process, see WeChat public account follow.

¶ Step 3: Enable the WeChat login method you configured for the integrated GenAuth application

After completing the third-party login configuration, enable the corresponding login method in the application you have integrated:

Congratulations! You have completed the WeChat login configuration. Now you can experience the WeChat login you implemented in the "Experience Login" of the application!

¶ Daily account management of WeChat applications

User accounts on the WeChat platform use OpenID and UnionID as unique identifiers. Since WeChat did not require all applications to join the WeChat Open Platform in the early years, some accounts did not have Unionid. Later WeChat regulations required that all applications must rely on the WeChat Open Platform. Users who log in to these applications created by the WeChat Open Platform have both OpenID and UnionID as unique identifiers. For the difference between the two, please refer to Introduction to WeChat Ecosystem Account System.

Based on the WeChat account system, there are two scenarios when your users log in through WeChat:

  • New users log in through WeChat

  • Old users log in through WeChat

For different scenarios of new and old users logging in, GenAuth supports the "account binding" function to ensure the uniqueness of your users' accounts in GenAuth.

For an introduction to the "Account Binding" function and usage details, please refer to Account Binding.

¶ Other Notes

When your application on WeChat Open Platform has been offline or disabled, the application you integrated in GenAuth will no longer be able to log in using WeChat.

Previous article: When Developing with WeChat Web Apps Next article: When Developing with WeChat Mini Programs
  • WeChat Open Platform preparation
  • Implement WeChat login capability in GenAuth
  • Daily account management of WeChat applications
  • Other Notes

User identity management

Integrated third-party login
Customized authentication process

Enterprise internal management

Single sign-on
Multi-factor authentication
Permission management

Developer

Development Documentation
GitHub (opens new window)

Company

official@genauth.ai
16th Floor, Building B, Beichen Century Center, Chaoyang District, Beijing (Total)
Room 406, 4th Floor, Block B, No. 200, Tianfu Fifth Street, High-tech Zone, Chengdu (Branch)

© Beijing Steamory Technology Co., Ltd.