# Intergrate WeChat account system
If your WeChat application uses the same WeChat subject to register, Authing will automatically recognize the end user as the same user, and you do not need to perform additional operations.
# Preparation work
You need to prepare the following in total:
- Register Authing Developer Account
- Use the same WeChat subject to register WeChat mobile applications, website applications, official accounts, mini programs, etc.
- Use Authing to access WeChat login:
# How to view all WeChat applications registered by the same WeChat subject
Go to WeChat Open Platform (opens new window)-Management Center page, you can see all WeChat applications registered by the WeChat subject:
# Start access
Here we access Wechat PC Scan Code Login and Small Program Scan Code Login As an example, let’s introduce how to get through the WeChat account system.
# Step 1: Connect to WeChat PC and scan the code to log in
Please see the specific access process:微信 PC 扫码登录
# Step 2: Access the mini program and scan the code to log in
"Mini Program Scan Code Login" refers to scanning the QR code of the Mini Program to log in to the web application. According to Authing customer statistics, this method can increase the registration conversion rate by 80% and save 100% of the user's mobile phone number while obtaining the user's mobile phone number. SMS cost. For details, please see: https://wxapp.authing.cn/ (opens new window).
"Sentence Interaction (opens new window)" is the login method used, which is well received by users.
Please see the specific access process:小程序扫码登录
# Next: Authing automatically completes the work of unifying WeChat accounts for you
If your WeChat application uses the same WeChat subject to register, Authing will automatically recognize the end user as the same user and no additional operations are required.
Let's demonstrate the verification below:
The user pool used in the following demonstration (https://sample.authing.cn/ (opens new window)), configured WeChat PC scan code login and small The program code scan code login method WeChat subject is the same.
# Use PC to scan code login
Go to the https://sample-sso.authing.cn/ (opens new window) login page and select "Login with WeChat Scan Code":
After logging in, you can see your complete user information on the redirect page:
Here we can find the user ID:
The user ID of the account we demonstrate here is:
# Use Mini Program to Scan QR Code to Login
After clicking "Exit", click "Experience Web Login" again:
This time we choose to use the small program to scan the code to log in:
After logging in, we jump to the previous page again, and we see that the user ID is still 5e900be284d1594238604b8e.
It can be seen that Authing recognizes the two "Login using WeChat scan code" and "Login using Mini Program" of the same WeChat user as the same user.