当前位置:网站首页>Introduction to wechat authorized login third-party app applet method
Introduction to wechat authorized login third-party app applet method
2022-07-24 08:15:00 【m0_ seventy-two million six hundred and twenty-two thousand six】
What is third-party authorized login
The third party namely Use an account frequently used in other programs to quickly log in to another account , Thus, login can be completed directly without registration . commonly All are It makes it easier for users to register or browse the login page Of .
Why Third party login
The service provider wants users to register , Users are too lazy to fill in all kinds of information at the time of registration ( Mainly to ensure the uniqueness of users , Various user names have been occupied , Password format restrictions ). And like wechat , QQ, Among the apps that almost everyone will install, such as Weibo, users will definitely have registered in one of them . Prove the uniqueness of the user in the registered application .
The essence of third-party login is to obtain the information provided by the third-party application at the time of authorization, which represents the uniqueness of the user in the third-party application openid. And will openid Stored in local storage controlled by third-party services .
Take wechat applet as an example : The login function of wechat applet will generally pass OpenID or UnionID As a unique identifier , Connect with the account system of the applet service , Complete the construction and design of user account system .
however Third party login authorization is a very annoying thing for many developers , Each platform should have its own permissions , It's very troublesome in practice .
For example, before FinClip Developed a small program , It is found that the login to realize wechat authorization can only be realized through App Custom in API Inject wx.login To transform the service end . But the process is complicated , Several attempts to succeed .

How to realize fast third-party login
FinClip Recently launched a solution , As follows :
First step : Sign in FinClip Management backstage .

The second step : stay “ Applet management ” find : My applet >> Applet details >> Third party management .
The third step : Will be made by FinClip The designed applet authorization page is added to the existing applet code package and submitted for review , The official authorization page has been directly placed in GitHub, You can get it directly GitHub - finogeeks/wechat-auth-page: FinClip Wechat login authorization page
Step four : Next step , Click add login Association on the management background page , Fill in... As prompted “ Wechat applet is original ID”、“ Wechat applet nickname and avatar authorization page path ”、“ Path to the authorization page of the applet mobile number ”.

Simply speaking , Just log in FinClip Management background , Click on 【 Applet - details - Third party management - Associated wechat applet login 】, Enter the wechat applet original ID, After the corresponding authorization page uploaded in the wechat applet , Bind to complete .
This is it. FinClip The platform provides users with convenient solutions , From the developer's point of view, let yourself App The applet can realize the third-party wechat authorized login method , Very convenient and easy to use . Different from the previous authorization methods, the ability of small programs to reuse wechat login can be realized without moving the code .
More details can be found at FinClip The authorities understand .
边栏推荐
- [Game Collection] mobile phones are about to burst, and a collection of six high-quality pyGame games is coming ~ (source code attached)
- MySQL日期格式化
- [Beijiao] image processing: basic concepts, image enhancement, morphological processing, image segmentation
- Wxml template concise tutorial
- Wechat official account configures custom menu jump applet and automatically replies to jump applet
- Vscode code style notes (vetur)
- [golang from introduction to practice] student achievement management system
- Markdown basic grammar learning
- 【MATLAB】(三)MATLAB在高等数学中的应用
- The vision group of Hegong University Sky team trained Day1 - machine learning, and learned to use the Yolo model
猜你喜欢

FPGA综合项目——图像边缘检测系统

Cososcreator upgrade gradle version

Svg from entry to regret, why not learn it earlier (graphic version)

As skillfully uses idea annotation to improve collaboration / development efficiency
![[linear algebra] deeply understand matrix multiplication, symmetric matrix, positive definite matrix](/img/0f/4b7e92c61814b39e9b0448c0c854ee.png)
[linear algebra] deeply understand matrix multiplication, symmetric matrix, positive definite matrix

【MATLAB】(四)MATLAB在线性代数中的应用

学习笔记总结篇(一)

Android kotlin uses a coroutine instead of a callback function (suspendcoroutine usage)

Draw a circular radar chart with canvas

When does MySQL use table locks and row locks?
随机推荐
My six months at Microsoft
A Knight‘s Journey题解
Learning dynamic Siamese network for visual object tracking full text translation
33 introduction to sparksql, dataframe and dataset
Cososcreator upgrade gradle version
[wechat applet development] (I) development environment and applet official account application
Detailed notes on pytoch building neural network
(dkby) DFL learning notes
[target detection] IOU (intersection and combination ratio)
基于thinkphp将execle表格上传并插入数据库
Case practice - panoramic image mosaic: feature matching method
[matlab] (III) application of MATLAB in Higher Mathematics
Svg from entry to regret, why not learn it earlier (graphic version)
Why is knowledge base important? This is the best answer I've ever heard
Common DOS commands
MySQL update uses case when to update the value of another field according to the value of one field
Implementation of unity hub free version
Introduction of some functions or methods in DGL Library
Cmake binary installation
As skillfully uses idea annotation to improve collaboration / development efficiency