Hetao29 Sign-In for WeCom
WeCom (企业微信登录) for WordPress: QR code and in-app sign-in, optional registration and password login controls.
Install in
This plugin adds Enterprise WeChat (WeCom) sign-in to the login page. Visitors can log in by scanning a QR code or authorizing inside the WeCom app. Administrators can allow automatic account creation and optionally replace the standard username and password login form.
企业微信登录插件:支持企业微信扫码登录、应用内授权登录、自动注册用户,以及按需关闭 WordPress 密码登录。
The plugin sends the authorization code to the WeCom API to retrieve the user’s enterprise ID. It signs in the WordPress user whose username matches that ID exactly. With automatic registration enabled, an unmatched ID creates an account using the ID as its username and the configured default role.
External services
Sign-in requires WeCom. The login panel loads the WeCom JavaScript SDK from wwcdn.weixin.qq.com. During sign-in, the plugin sends the Corp ID and app secret to the WeCom token API and sends the resulting access token and authorization code to the WeCom user info API. See the WeCom developer documentation and privacy policy.
Written by Joobi from the project's own listing. See the source page
1.2.2
- Test authentication and registration against WordPress 7.2 RC3 on PHP 8.4.
- Remove the login script’s jQuery dependency and preserve the password form if the WeCom SDK fails to load.
- Preserve core logout and password recovery actions when replacing the login form, and disable both username and email password authentication.
- Validate WeCom HTTP and JSON responses, respect token expiration, and refresh invalid or expired tokens once.
- Handle malformed stored credentials safely and mask the app secret in settings.
1.2.1
- Validate OAuth state with a signed, expiring cookie instead of transient storage.
- Match WeCom User IDs directly to WordPress usernames, including automatic registration.
1.2.0
- Bind sign-in requests to a browser with one-time OAuth state and require explicit account mapping.
- Restore bundled Simplified Chinese translations and the configurable role for automatically registered users.
- Rename the plugin and prefix stored settings and registered identifiers.
1.1.1
- Use a plugin slug without the reserved wp prefix and improve the plugin description.
1.1.0
- Improve login integration and settings.
Follow this listing's changes (Atom feed)