WeChat Login
WeChat Login

WeChat Login

Make Fresns connected account support WeChat login, support WeChat login for website, mini program, iOS app, Android app.

Installation with fskey
Installation with Command

Fresns 官方开发的「微信登录」插件,支持网站、小程序、App 等各端的微信登录。

站长使用说明

  • 插件安装后,启用并配置插件的设置。
  • 配置好插件后,再关联到账户互联支持。
  • 后台->系统->账户设置->第三方互联支持

开发者使用说明

接口列表

接口说明 接口地址
微信互联信息 /api/wechat-login/connects
小程序登录 /api/wechat-login/mini-program/oauth
使用小程序授权网页登录 /api/wechat-login/mini-program/oauth-website
开放平台移动应用登录 /api/wechat-login/open-platform/oauth
多端应用 Apple 账号登录 /api/wechat-login/mini-app/oauth-apple
获取 JS-SDK 签名 /api/wechat-login/js-sdk/sign

接口使用建议

  • 建议第一次请求不传参 autoRegister,当账号不存在时,让用户选择是绑定账号还是生成新账号,避免用户已经有账号了,重复生成。
  • 文案:
    • 您已经使用 nickname 授权成功,但是本站并未查询到对应的账号。
    • 我有账号,我要关联绑定
    • 我没有账号,帮我生成新账号

Categories

Account Centre

Works With

Fresns 3.x

Database

Database Supports

  • MySQL/MariaDB
  • PostgreSQL
  • SQL Server
  • SQLite

Involved Fresns Data Tables

  • configs

About

Version 2.2.0

Released on 05/06/2024 04:14

2.2.0 05/06/2024 04:14
  • 适配新版微信小程序
2.1.0 04/28/2024 06:12
  • 优化并适配新版系统
2.0.1 04/16/2024 12:22
  • 修复「重新扫码」的元素未变化问题
2.0.0 04/14/2024 08:59
  • 适配支持 fresns 3.x
1.3.2 10/09/2023 15:38
  • 修复 web 登录的 appid 错误
1.3.1 10/09/2023 14:58

chore: github link

1.3.0 10/08/2023 20:30
  • 新增接口
  • 适配新插件路径
1.2.0 09/14/2023 20:53
  • 新增「多端应用」的支持
  • 修复开放平台的移动应用登录
1.1.2 08/31/2023 15:48
  • 修复小程序里打开本插件时缺失提示文案
1.1.1 08/13/2023 19:59
  • 修复平台编号错误导致微信内打开网页绑定时报错
  • 跳转链接修改成回调方式由父页面处理
1.1.0 08/09/2023 19:18
  • 修正回调参数名
  • API 新增昵称和头像参数
1.0.5 07/03/2023 22:12
  • 修复微信中打开时,小程序码不能显示问题
  • 优化编码风格
1.0.4 06/29/2023 14:57
  • 修复语言标签错误
1.0.3 06/24/2023 02:52
  • 适配多端 postMessage 消息
  • 适配新的回调字段名
  • 修复创建互联信息失败问题
1.0.2 06/12/2023 20:36
  • 修正登录命令字
1.0.1 05/23/2023 05:08
  • fix bug
1.0.0 05/19/2023 02:51
  • Initial commit
Fresns Marketplace Disclaimer

The Fresns App Marketplace is a repository of Fresns extensions, aggregating public and private extensions developed on top of the Fresns ecosystem.

The Fresns Marketplace is an open platform and any account registered as a developer can publish apps (certified developer can publish paid apps). As a result, the Fresns App Marketplace is unable to fully monitor applications uploaded to the App Marketplace by third parties and therefore does not guarantee the legitimacy, security, integrity, authenticity or quality of applications. By downloading an application from the Fresns Marketplace, you agree to use your own judgement and assume all risks without relying on the Fresns Marketplace.

Free applications are not explicitly stated and the developer is not obliged to provide technical support, so please install your own test functions.

In any case, Fresns Marketplace reserves the right to discontinue the Application Marketplace service and to take appropriate action in accordance with the law, including but not limited to removal of the application in question, suspension of all or part of the service. Fresns shall not be liable, directly, indirectly or jointly, for any damages that may be caused to you or to third parties.

Fresns