host: Authing server address, the default is, if you are deploying privately, you need to change this address to the address of your privatized deployment service.subscribeMessage: Messages sent to users after they follow.encodingAESKey: EncodingAESKey configured in WeChat Public Platform.token: Token configured in WeChat Public Platform.wechat: WeChat public number related configuration.port: The port number on which this service is running.You will find WeChat Verification under Settings on the left menu. Host: userPoolId: xxx socialConnectionIdentifier: xxxĭefinition of each item in the configuration file. Go to WeChat Official Account Platform admin dashboard and Enable Verification. The process was rather complicated, took several months to complete and required an. One option was to make a special request to Tencent, the company that owns WeChat, to be registered with a foreign license. Our mission is to make identity management easier. Until May 2018, a company that did not hold a Chinese business license had only two options available to open a WeChat Official Account. \n\nAuthing provides an easy-to-use and scalable identity cloud platform for developers and currently serves tens of thousands of developers and enterprises in seven countries around the world. Configuration fileĪdd the configuration file config.yaml to the directory where the project is located, the sample configuration file is as follows.ĪppId: xxx token: xxx encodingAESKey: xxx subscribeMessage: Hello and welcome to Authing. This sample project is prepared for a Mode II scenario. If you have a usage scenario other than user sweep login, you can directly choose mode one if you have some other business besides user sweep event, such as event push, custom message reply, etc., you need to choose mode two. Mode 2: Set the server address as your own server, and then forward the sweep and follow events to Authing server endpoint. Go to the WeChat Official Accounts Platform Landing page URL to sign up: mp.weixin.qq. Mode 1: Set server address as Authing server endpoint, this mode is the simplest, but all events of WeChat Public will be pushed to Authing server, you will lose other events except sweep and follow. Since only one WeChat server configuration can be set up, you need to choose two different modes according to your specific scenario. When users scan the QR code of the public number and follow the public number, Authing will be able to receive the user sweep and follow events to complete the login. You can turn on the server configuration in Development -> Basic Configuration page in the backend of WeChat Public Platform. English | 简体中文 Why do I need this service?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |