houseme
|
96c1f98944
|
[feature] Format the code and improve Mini Program authorization to o… (#473)
* [feature] Format the code and improve Mini Program authorization to obtain openid(miniprogram/auth/auth.go Code2Session)
* [feature] CheckEncryptedData (https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/user-info/auth.checkEncryptedData.html)
* upgrade json error
* upgrade json error
Co-authored-by: houseme <houseme@outlook.com>
|
2021-09-08 11:03:23 +08:00 |
|
NaRro
|
71e3ddaab3
|
fix(platform): 修复jsTicket使用了错误的appID的问题. (#331)
而第三方平台开发者代替公众号使用 JS SDK 的步骤如下:
1、在申请第三方平台时填写的网页开发域名,将作为旗下授权公众号的 JS SDK 安全域名(详情见“接入前必读”-“申请资料说明”)
2、在第三方平台的网页中正常引入 JS 文件
3、通过 config 接口注入权限验证配置,但在获取 jsapi_ticket 时,不通过公众号的 access_token 来获取,而是通过第三方平台的授权公众号 token(公众号授权给第三方平台后,第三方平台通过“接口说明”中的 api_authorizer_token 接口得到的 token),来获取 jsapi_ticket,然后使用这个 jsapi_ticket 来得到 signature,进行 JS SDK 的配置和开发。**注意 JS SDK 的其他配置中,其他信息均为正常的公众号的资料(而非第三方平台的)**。
4、通过 ready 接口处理成功验证
5、通过 error 接口处理失败验证
fix: #329.
|
2020-10-16 11:05:26 +08:00 |
|
NaRro
|
6f2bd492fc
|
fix: platform wx oauth and js config issue. (#302)
* fix: platform wx oauth and js config issue.
fix silenceper/wechat#301.
* fix: platform query auth code error not detected.
* feat: migrate platform oauth and js api.
* fix: func name
|
2020-08-01 20:44:01 +08:00 |
|
silenceper
|
868b31cb3d
|
fix golangci-lint failed (#284)
* fix golangci-lint error
|
2020-06-24 14:36:33 +08:00 |
|
silenceper
|
b599e93c5b
|
将获取AccessToken和jsTicket单独抽象为interface
|
2020-05-25 21:55:42 +08:00 |
|
silenceper
|
c372d7a83c
|
微信开放平台-代处理小程序
|
2020-05-23 12:02:55 +08:00 |
|
silenceper
|
85b0a114dc
|
rebase release-2.0
|
2020-05-23 11:59:46 +08:00 |
|