

Get the code in the background and call the Wechat interface again in exchange for web authorization access_token and openidĦ. Callback address will be requested with code parameter after authorization is passedĥ. Guide the user into the authorization page to agree to authorization, and then call the Wechat API to get the code.Ĥ. In the configuration option of “Development-Interface Rights-Web Services-Web Accounts-Web Authorization to Obtain User’s Basic Information” in the official website of public platform, modify the domain name of authorized callbackģ. After landing, you can see the information of and.

Req.scope = more detailed user information, such as avatars, nicknames, gender, etc.Ĭonclusion: Using non-silent authorization Implementation steps:ġ. Req.scope = access_token and openID can be obtained What users perceive is that they go directly to callback pages (often business pages). There are two ways to authorize web pages: In the list of Wechat messages, the user sends a web page URL directly to his friends, and the user receives a direct click on the URL to open the page directly.Ĭonclusion: Cloud College is a mobile website, using the third way of login, Wechat Web page authorization. It is limited to the web application opened on the client side of Wechat.
WECHAT WEB LOGIN PC

When the end user carries this Toekn to access the developer's interface, developers need to judge whether this token is legal and in the login status, Authing provides several ways: Verify the user token.
WECHAT WEB LOGIN DOWNLOAD
Settings in the background of the WeChat public platform -> Public number settings -> Features Settings page settings Web licensorship domain name.įor security verification, the WeChat server needs to be verified by the Authing server, the developer needs to download the txt file and record the file name and text content.įinally in Authing console connection identity source -> Social login Open WeChat web page authorization login:
WECHAT WEB LOGIN PASSWORD
WeChat public number: Go to WeChat public platform (opens new window) registerĭevelopment of the WeChat Public Platform Background -> Basic Configuration Page Get the Developer ID (AppID) and Developer Password (AppSecret).¶ WeChat web page authorization login SDKĪuthing WeChat web page authorization SDK, five minutes to access WeChat web page authorization login.
