# Wechat PC
# Prerequisites
Before you start, make sure you have a WeChat Developer Account (opens new window).
# Steps
Connect to WeChat PC and scan the code to log in, you need:
- Create WeChat Website Application
- Configure WeChat Scan Code Application in Authing Console
- Access WeChat Scan Code Login in Hosting Mode
- Access WeChat Scan Code Login in Manual Mode
# Create WeChat website application
Please follow the WeChat Developer Official Document (opens new window) guidelines to create a WeChat website application, you need to record the application App ID and App Secret are needed later.
Please make sure that the app has the permission of WeChat login:
Please set the authorization callback domain to core.authing.cn
:
# Configure WeChat scan code application in Authing console
In the Authing console (Connect Identity Source-Social Login), find the WeChat scan code application and fill in the configuration of the WeChat website application:
App ID
App Secret
Callback URL
īŧThis is your business callback domain name, which is different from the callback link configured in the social login application. For example, your website domain name is https://example.com and the url for processing Authing callback requests is /auth/callback, then you should fill in ashttps://example.com/auth/callback
. If you need to configure the callback link separately in the application, the address here can be filled in: #.
After configuration, please click "OK" to save the information.
# Next
After the configuration is complete, you can start to formally integrate social login into your system. Authing social login supports four access methods: using JavaScrit SDK, using Guard for Web login form component, using Authing online login page As with manually calling the social login interface, for the applicable scenarios and advantages and disadvantages of each method, please refer to: Social Login Access Guide.
â GitHub WeChat Webpage Authorization â