当前位置:网站首页>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 .
边栏推荐
- [tools] a few lines of code can realize complex excel import and export tool classes, which is really strong!!!
- *Project recurrence * project implementation of thesis based on contextbasedemotionrecognitionusingematicdataset
- Svg from entry to regret, why not learn it earlier (graphic version)
- 生成模型与判别模型
- Autojs article proficient in detailed explanation of autojs script tutorial
- Installation and use of CONDA
- Shared lock, exclusive lock, mutex lock, pessimistic lock, optimistic lock, row lock, table lock, page lock, non repeatable read, lost modification, read dirty data
- 【golang从入门到实践】学生成绩管理系统
- Opencv project practice - credit card recognition
- Continuous learning, lifelong learning, episodic memory, memory module paper summary -- gradient episodic memory promotes continuous learning
猜你喜欢

The vision group of Hegong University Sky team trained day3 - machine learning, strengthened the use of Yolo models, and learned pumpkin books and watermelon books

Vscode code style notes (vetur)

*Code understanding * common function parsing in pytoch

Summary of study notes (I)
![[wechat applet development] (III) homepage banner component uses swiper](/img/d6/28252a4bb6425d53715221f7665b04.png)
[wechat applet development] (III) homepage banner component uses swiper

Assembly | screen display numbers

EZDML逆向工程导入数据库分析实操教程
![[wechat applet development] (I) development environment and applet official account application](/img/94/b93d5fb6d9e3515a1f218cc4ec6eef.png)
[wechat applet development] (I) development environment and applet official account application

Detailed notes on pytoch building neural network

QT | string generation QR code function
随机推荐
MySQL uses explain to analyze SQL execution plans to help find performance bottlenecks
*Yolo5 learning * data experiment based on yolo5 face combined with attention model CBAM
13. Unity2d horizontal version of two-way platform that can move up, down, left and right (two-way walking + movable + independent judgment) + random platform generation
Learning to track at 100 FPS with deep progression networks
Autojs article proficient in detailed explanation of autojs script tutorial
[redis] how much do you know about bloom filter and cuckoo filter?
Summary of study notes (I)
Qt|字符串生成二维码功能
Alibaba cloud OSS uploads pictures under folders and encounters pits
UVA572油田 Oil Deposits题解
Installation and use of CONDA
图新地球:如何导入修改了高程基准(椭球)的CAD文件
Opencv project practice - credit card recognition
Full revolutionary Siamese networks for object tracking translation
Assemble | find the maximum and minimum values
[ByteDance] ByteDance access (including login and payment)
[interview] Why do you need foreach with the for cycle?
Database | simple hospital patient appointment system based on opengauss
Detailed explanation of wechat applet page configuration and sitemap configuration parameters
Vidar-Team战队专访:AS WE DO, AS YOU KNOW.