Provide zblog template_zblog them_wordpress template download and customization

Tutorial of Tianxing User Center: detailed operation steps of website access to WeChat login

Tianxing Studio 2022-10-10 14:07 course three thousand six hundred and seventy-one 0 Comments


Tianxing user center plug-in integrates WeChat login function. WeChat login has two ways:

The first is code scanning login, which is suitable for PC browser;

The second is to open the website in WeChat client and log in directly;

The two login methods need to access different platforms. This article will explain the detailed steps of the second WeChat client's direct login method by opening the website.


First, you need a WeChat official account

If you don't have a WeChat public account, please apply for one and ensure that the public account type is a service account (the one that costs 300 yuan per year to authenticate), Personal public account does not have these permissions

Get appid, etc

1. Log in to the WeChat public account background, navigate to the left to find "Settings and Development" - "Basic Configuration", set up AppID and AppSecret, and add the IP address of your website server to the IP whitelist, as shown below:

 1.png

2. On the left side of the background navigation of WeChat official account, find "Settings and Development" - "Interface Permission", and in "Web Services", find "Web Authorization" interface application, as shown below:

 3.png

3. On the opened page, find the domain name of your website in the "Web page authorized domain name", and fill in only the domain name "www.baidu. com". As shown below:

 2.png

Settings in the plug-in:

After getting the AppID and AppSecret of WeChat in the previous step, you can open the background of your website and the user center plug-in configuration interface. Click the registration login in the left navigation bar to enter the following interface:

 5.png

First turn on the third-party login switch, then turn on the WeChat client direct login switch, and then fill in the AppID and AppSecret to save.


Can't find a tutorial that can solve your problem?

You can try to search or ask questions directly online. We also provide charging technical support. If you need it, you can contact us online.

Online questions Online Service

welcome you Comment: Cancel Reply

 Please fill in the verification code
  • Latest articles
  • Hot article ranking
  • Most Comments
Label aggregation