After developing multiple QQ and WeChat logins, it is natural to develop an aversion. Inertia has returned and I want to search for relevant wheels online, but I have never found a one that I feel satisfied with. Either it is too difficult to understand when using, or the file structure is too messy, so I have to roll up my sleeves and do it myself.
! ! Please familiarize yourself with the Oauth/QQ/WeChat documentation first!! Please have basic debugging skills! !
Welcome Star, welcome PR!
If you have any questions to communicate, please post them here: OAuth2 exchange Or Send an email [email protected]
Integrating many third party login interfaces, including qq-login, wx-login, sina-login, github-login, alipay-login, aliyum-login, douyin-login and so on
Integrated many third-party login interfaces, including QQ login, WeChat login, Sina login, github login, Alipay login, Baidu login, Douyin login, GitLab, Naver, Line, coding, csdn, gitee, etc., and more are added.
Gateways | Login Name | Login Method |
---|---|---|
Tencent QQ | PC Scan Code, App | |
PC, Official account, Applet, App | ||
sina | Sina Weibo | PC、APP |
alipay | Alipay | PC、APP |
aliyun | Alibaba Cloud | PC |
github | GitHub | PC |
google google | PC | |
PC | ||
naver | Naver | PC |
PC | ||
line | line | PC |
douyin | Douyin, Toutiao, Xiguaxigua | PC、APP |
baidu | Baidu (development) | PC |
coding | Coding(development) | PC |
csdn | CSDN (development) | PC |
gitee | Gitee | PC |
gitlab | GitLab (development) | PC |
oschina | OSChina (development) | PC |
Pay attention to: Google, facebook, twitter These foreign platforms require overseas or HK servers to successfully callback
composer require tinymeng/oauth:^2.0.0 -vvv
The namespace used by the class library is
\tinymeng\oauth
.
├── example Code source file directory
│ └── wx_proxy.php WeChat Multi Domain Agent PHP Code Version
│ └── weixin-authorize-proxy.html WeChat multi domain proxy HTML code version, recommended to use HTML version
├── src Code source file directory
│ ├── Connector
│ │ ├── Gateway.php Abstract classes that must be inherited
│ │ └── GatewayInterface.php Interface that must be implemented
│ ├── Gateways
│ │ ├── Alipay.php
│ │ ├── Douyin.php
│ │ ├── Facebook.php
│ │ ├── Github.php
│ │ ├── Google.php
│ │ ├── Line.php
│ │ ├── Naver.php
│ │ ├── Qq.php
│ │ ├── Twitter.php
│ │ ├── Sina.php
│ │ └── Wechat.php
│ ├── Helper
│ │ ├── ConstCode.php Common constant
│ │ └── Str.php String auxiliary class
│ └── OAuth.php Abstract instance class
├── composer.json Composer File
├── LICENSE MIT License
└── README.md Documentation
Micro Dream Aggregation Quick Login Platform
Weimeng login demo
1. Weimeng Aggregation Quick Login Transfer API is a social account aggregation login system that allows end users of the website to choose to use a variety of social accounts including WeChat, Weibo, QQ, Baidu, etc. to log in to the site in one stop.
2. Simplify the user registration and login process, improve the user experience of browsing the site, and quickly increase the number of website registrations and user data. There are complete development documents and SDK to facilitate developers to quickly access.
3. You can quickly access project platforms marked [Rainbow Aggregation Login], [Oauth Aggregation Login], [Aggregation Login] and other project platforms.
4. No oauth development qualifications and application process are required.