当前位置:网站首页>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 .
边栏推荐
- Assembly | screen display numbers
- [Yum] configuration and use of Yum source
- Upload and insert the execle table into the database based on ThinkPHP
- Error lnk2019: unresolved external symbol [email protected]
- FPGA综合项目——图像边缘检测系统
- [target detection] IOU (intersection and combination ratio)
- Adaptive problem of img aspect ratio scaling in flex layout in Safari
- P1135 strange elevator problem solution
- Anaconda cannot shut down the method of forced shutdown
- [tools] a few lines of code can realize complex excel import and export tool classes, which is really strong!!!
猜你喜欢

Wechat applet subscription message development process

【游戏合集】手机都要被塞爆了,6款优质Pygame游戏合集降临~(附源码)
![[shutter] the shutter doctor reports an error](/img/09/20279b3ed71a18b28566ddbe212597.png)
[shutter] the shutter doctor reports an error
![[Game Collection] mobile phones are about to burst, and a collection of six high-quality pyGame games is coming ~ (source code attached)](/img/9e/b237bfa891bd2beb9c1b8a612e9090.png)
[Game Collection] mobile phones are about to burst, and a collection of six high-quality pyGame games is coming ~ (source code attached)

Introduction of some functions or methods in DGL Library

Perceptron and multilayer neural network, back propagation and computational graph

When does MySQL use table locks and row locks?

MySQL -- subquery scalar subquery

Image feature Harris corner detection

VIDAR team team exclusive interview: as we do, as you know
随机推荐
You can't access this shared folder because your organization's security policies prevent unauthenticated guests from accessing it. These policies can help protect your computer from unsafe or malicio
【游戏合集】手机都要被塞爆了,6款优质Pygame游戏合集降临~(附源码)
【线性代数】深入理解矩阵乘法、对称矩阵、正定矩阵
FPGA integrated project - image edge detection system
Poj3278 catch the cow
Kotlin higher order function & DSL layout persuasion Guide
mysql使用explain分析sql执行计划帮助查找性能瓶颈
赛宁TechTalk丨攻防演练:攻击组合拳 “稳准狠”渗透
Recognition and storage of Graphs
Case practice - panoramic image mosaic: feature matching method
Kotlin coprocess analysis (III) -- understanding the context of coprocess
Error lnk2019: unresolved external symbol [email protected]
Intelligent robots and intelligent systems (Professor Zheng Zheng of Dalian University of Technology) -- 2. Mobile Robot Perception
Saining Techtalk attack and defense drill: attack combination fist "stable, accurate and ruthless" penetration
Do you want to have a robot that can make cartoon avatars in three steps?
Several development frameworks based on openresty
Learning dynamic Siamese network for visual object tracking full text translation
[matlab] (IV) application of MATLAB in linear algebra
*Code understanding * common function parsing in pytoch
【MATLAB】(三)MATLAB在高等数学中的应用