微信登录

This project is not covered by Drupal’s security advisory policy.

This module allows you to log in to your system using the third platform wechat,
To provides WeChat official platform web page authorization login and WeChat open platform code scanning login functions.
The Mobile detect module can assist in device detection. If the user is using the WeChat official platform to log in, after placing the WeChat login block, the WeChat login button will only be displayed on the mobile device and not on the PC.

介绍

此模块提供微信公众平台网页授权登录和微信开放平台扫码登录功能。
Mobile detect模块可以辅助此模块进行设备检测,如果用户使用的是微信公众平台登录,那么放置WeChat login区块后,微信登录按钮将只会在移动端设备显示,而不会在PC端显示。

配置

点击“人员”——“WeChat login”,进入微信登录配置界面。
选择要使用的微信平台:
微信公众平台:需要在微信公众平台注册公众号(可以注册订阅号和服务号)。
https://mp.weixin.qq.com/
微信开放平台:需要在微信开放平台注册。
https://open.weixin.qq.com/

微信公众平台与开放平台的区别:
1.微信公众平台:
微信公众平台简称"公众号",微信公众平台是运营者通过公众号为微信用户提供资讯和服务的平台,包含服务号、订阅号、小程序、企业微信(原企业号)。
2.微信开放平台:
微信开放平台使第三方程序可以使用微信的分享、登录等功能,借助微信传播内容。
微信开放平台可以绑定多个应用。如果开发者拥有多个移动应用、网站应用和公众帐号,需要打通用户体系,可通过获取用户基本信息中的 unionid 来区分用户的唯一性,因为只要是同一个微信开放平台帐号下的移动应用、网站应用和公众帐号,用户的 unionid 是唯一的。换句话说,同一用户,对同一个微信开放平台下的不同应用,unionid是相同的。
微信开放平台可对其绑定的应用进行关联,比如服务号的H5页面,需要使用微信开放标签跳转app,则需要同时在微信开放平台上绑定该服务号和APP,并在服务号配置页面关联APP。

注册完成后,将AppID和AppSecret分别填入“Client ID”与“Client Serect”配置中。其他保持默认值即可。

开发者信息

本模块由“未来很美(深圳)科技有限公司”开发
更加详细的描述请见模块根目录下的doc文档
“未来很美 一起向前 不负时光 留下美好”
致敬Drupal中国社区的各位伙伴,加油!

Supporting organizations: 
self-development

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Project categories: Access control, Security
  • Ecosystem: WeChat
  • Created by yunke on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases