This article is a mirror article of machine translation, please click here to jump to the original article.

View: 1|Reply: 0

[HTML/HTML5] Two ways to integrate WeChat Work login

[Copy link]
Posted on2 seconds ago | | | |
There are two integration methods for website integration with WeChat Work QR code login: constructing an independent window login QR code and constructing an embedded login QR code.

Create a standalone window login QR code

Simply put, it creates a URL link, clicks the 'Use WeWork Login' button, and then redirects to the WeCom website, as shown below:



Construction parameters:
Construct embedded login QR codes

This method involves importing WeCom's official JS, then instantiating it in HTML using new WwLogin, so the QR code can be displayed on the current webpage, as shown below:
The js reference is as follows:
Remark:Do not use older versions of JS, or you will get errors!!! Reference:
Embedded in the enterprise WeChat scanning code login function reportEvent issue
https://www.itsvse.com/thread-11129-1-1.html

As shown below:



Reference:The hyperlink login is visible.




Previous:Charles Schwab Cost Basis Method transaction tax optimization
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com